Open ZainMick opened 11 months ago
Patch function is working now, i just cant see any of my bookings in the app, any thoughts ?
I think I may have addressed that problem in my guide - certainly sounds familiar: https://github.com/aprildunnam/PowerApps/issues/114#issuecomment-1777011587
Hi How did you fix the Patch function, I am getting the same issue.
Hi Guys
Sorry im new to this,
Not sure why i cannot get the data to patch into the Desk Reservations list, also cannot see any bookings made.
The list names and columns are correct, everything looks as it should, the Desks list and DeskAdmins list are working fine.
The Desk Reservations list is not getting any data from the LOOKS GOOD! button, no errors on the button, any ideas ?
ForAll( selectedDesks, Patch( 'Desk Reservations', Defaults('Desk Reservations'), { Title: selectedPerson.DisplayName & " " & ThisRecord.Title, DeskText: ThisRecord.Title, 'Check Out From': DateAdd(startTime, /TimeZoneOffset(),/ TimeUnit.Minutes ), 'Check Out From Text': startTime, 'Check Out From Number':Value(Text(startTime,"yyyymmddhmm")), 'Check Out To': DateAdd(endTime, /TimeZoneOffset(),/ TimeUnit.Minutes ), 'Check Out To Text': endTime, 'Check Out To Number': Value(Text(endTime,"yyyymmddhmm")), 'Reserved By': { '@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser", Claims: "i:0#.f|membership|" & selectedPerson.Mail, Department: "", DisplayName: selectedPerson.DisplayName, Email: selectedPerson.Mail, JobTitle: "", Picture: "" } } ) ); Concurrent( Reset(ddTimeTo), Reset(ddTimeFrom), Reset(Calendar_1), Clear(selectedDesks), Set( selectedDate, Blank() ), Set( startTime, Today() ), Set( endTime, Today() ) );
Navigate(Success)