For me the Book A Room template for smartphones isn't working.
When trying to pick upcoming meetings, there are none showing up + when trying to create a new booking/meeting via the app, the event isn't created but an error shows up saying "error at "Office365.V2CalendarPostItem": the method "V2CalendarPostItem" shows an invalid value for the parameter "Start".
Apart from visual optimizations I didn't alter the template... any ideas?
Solved! Go to Solution.
Hi @abroad36 :
I am not sure whether I understood you correctly. But I can give a vivid example:
When a user open the app,it will ask for permission to his account:
In other words, when user A uses this app, the app displays user A's calendar. When user B uses this app, the app displays user B’s calendar.
Best Regards,
Bof
Hi @abroad36 :
I've made a test but did not encounted the problem you mentioned.
I suggest you to check according to the following steps:
Step1:Considering that the error message displays "The value of parameter ‘Start’ is invalid". I suggest you check the value of the variable StartDateTime.(File-Variables-Glabal)
1\Does the value of StartDateTime exist?
2\ Is the data type of StartDateTime ‘DateTime’
Step2:Check whether the formula is correct (ConfirmationScreen-OnVisible)
If(
IsBooking,
UpdateContext({ShowLoading: true});
Set(AvailableRoomsCounter, 1);
If(
!BookForMeeting,
Office365.V2CalendarPostItem(
MyCalendar,
User().FullName & "'s Booking",
StartDateTimeUTC,
EndDateTimeUTC,
{
RequiredAttendees: RoomsGallery.Selected.Email,
Location: RoomsGallery.Selected.Name,
Importance: "Normal",
ShowAs: "Busy"
}
),
ClearCollect(
RequiredAttendeesNoRoom,
Split(
MeetingsGallery.Selected.RequiredAttendees,
";"
)
);
ForAll(
AllRooms,
RemoveIf(
RequiredAttendeesNoRoom,
Address = Result
)
);
ClearCollect(
RequiredAttendeesNoRoom,
Concat(
RequiredAttendeesNoRoom,
Result & ";"
)
);
ClearCollect(
RequiredAttendeesNoRoom,
Split(
First(RequiredAttendeesNoRoom).Value,
";;"
)
);
Set(
RequiredAttendeesFinal,
First(RequiredAttendeesNoRoom).Result
);
Set(
RequiredAttendeesTrue,
RoomsGallery.Selected.Email & ";" & RequiredAttendeesFinal
);
Office365.V2CalendarPatchItem(
MyCalendar,
MeetingsGallery.Selected.Id,
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"
}
)
);
UpdateContext({ShowLoading: false})
);
Set(
IsBooking,
false
)
Best Regards,
Bof
That was totally my bad, sorry for your efforts...
I forgot to adjust the correct connection 😒
In the end the main problem was fixed but I came to another question:
The Book a Room App will only work for meetings which are set up by the specific connected account - not those of the actual user, right? So if users also plan meetings outside of this app, e.g. in their own Outlook Calendar those won't show up in the app.
Is there any way, maybe in Exchange to get this working?
Hi @abroad36 :
You don't have to worry about it.
Best Regards,
Bof
Thank you for the quick reply 🙂
So the app can't work for a whole team, but only for the user I set up the connection with?
Sorry for bothering, but atm I can't view any meetings in the app which aren't created in the personal calendar of the connected account 😕
Hi @abroad36 :
I am not sure whether I understood you correctly. But I can give a vivid example:
When a user open the app,it will ask for permission to his account:
In other words, when user A uses this app, the app displays user A's calendar. When user B uses this app, the app displays user B’s calendar.
Best Regards,
Bof