Hi @KarlB ,
Could you please share a bit more about the error message within your app (a screenshot may be better)?
Based on the issue that you mentioned, I have made a test on my side, and don't have the issue that you mentioned. The changes to existing meeting work well in my template app.
Please check if you have typed MeetingsGallery.Selected.Id formula as the second argument within the Office365.V2CalendarPatchItem(...) formula within the OnVisible property of the ConfirmationScreen in the "Boom A Room" Template app.
As an alternative solution, please consider add the following formula within the OnSelect property fo the MeetingsGallery:
Set(ChosenMeeting, ThisItem);
Set(StartDateTime, ThisItem.Start);
Set(EndDateTime, ThisItem.End);
Set(StartDateTimeUTC, Text(DateAdd(StartDateTime, TimeZoneOffset(), Minutes), "[$-en-US]yyyy-mm-ddThh:mm") & ":00.000Z");
Set(EndDateTimeUTC, Text(DateAdd(EndDateTime, TimeZoneOffset(), Minutes), "[$-en-US]yyyy-mm-ddThh:mm") & ":00.000Z");
If(NoRoomsList,
Navigate(RoomSelectScreen, None),
Navigate(RoomListSelectScreen, None)
);
Set(MeetingID, ThisItem.Id) // Add this formula
Then within ConfirmationScreen, modify the formula within the OnVisible property to following:
If(IsBooking,
UpdateContext({ShowLoading: true});
If(OnlineMeeting,
....;
If(
BookForMeeting,
...;
Office365.V2CalendarPatchItem(MyCalendar, MeetingID, If(MeetingsGallery.Selected.Subject = User().FullName & "'s Booking", User().FullName & "'s Skype Meeting",
MeetingsGallery.Selected.Subject), StartDateTimeUTC, EndDateTimeUTC, {RequiredAttendees: RequiredAttendeesTrue, OptionalAttendees: MeetingsGallery.Selected.OptionalAttendees,
Body: "<a href="&SkypeMeeting.JoinUrl&">Join Skype Meeting</a>", IsHtml:true, Location: "Online Meeting", Importance: "Normal", ShowAs: "Busy"}), // Modify formula here
....,
If(!BookForMeeting,
....,
...
...;
Office365.V2CalendarPatchItem(MyCalendar, MeetingID, If(MeetingsGallery.Selected.Subject = User().FullName & "'s Skype Meeting", User().FullName & "'s Booking", MeetingsGallery.Selected.Subject), StartDateTimeUTC, EndDateTimeUTC, {RequiredAttendees: RequiredAttendeesTrue, OptionalAttendees: MeetingsGallery.Selected.OptionalAttendees, Body: "Room has been updated to " & RoomsGallery.Selected.Name, Location: RoomsGallery.Selected.Name, Importance: "Normal", ShowAs: "Busy"}) // Modify formula here
)
);
UpdateContext({ShowLoading: false})
);
Set(IsBooking, false)
specify the MeetingID variable as the second argument value within the Office365.V2CalendarPatchItem(...) formula.
If the issue still exists, please consider remove the Office 365 Outlook connection from your app, then re-add a new connection to the Office365Outlook connector, then try above formula again, check if the issue is fixed.
Best regards,