Played around with the new MS PowerApps template Book a room. Promising and just what i've been looking for.
Unfortunately I get a warning message on the ButtonMeeting located at the LandingScreen. At the OnSelect-field there is an warningtriangle and if I hover over it it says (freely translated from Swedish) Office365.GetEventsCalendarViewV2 failed: The GetEventsCalendarViewV2 method has an invalid value in the calendarID parameter. Sort of.
This probably is the reason that the PowerApp does not work:
When I click the Book for an existing meeting none of my meetings show up.
If I click the Book without a meeting and proceed with a booking of a room (all our rooms are listed perfectly), the booking gets confirmed in the PowerApp, but it doesn't show up in the room calendar in Outlook.
Just from the error message, it should be related to the Calendar parameter passed into the Office365.GetEventsCalendarViewV2 function.
Please check more details for the connector:
I will check it from my side and update here if I have more findings.
Thanks for the pointer @v-micsh-msft
Unfortunately I do not have the time to dive deep into any code troubleshooting.
Since I use the template OOTB with no alterations made, It's odd that it throws this error.
It's a pitty though, since the template seems to be very promissing.
Hi there, I've been unable to reproduce your issue, but I've got a few solutions you might try:
1st: Check to make sure all of your connections are working. 'View' > 'Data sources' in the ribbon should open up the data panel.
If any of your data sources look like this:
Remove and reconnect them.
2nd: The code where the invalid value is being generated comes from the OnStart property of the app. Specifically the 3rd line from the bottom:
Set(MyCalendar, Lookup(Office365.CalendarGetTables().value, DisplayName = "Calendar").Name);
You may try turning that single statement into two lines. One to get the info from the API, and one to properly parse it:
Set(MyCalendars, Office365.CalendarGetTables().value); Set(MyCalendar, LookUp(MyCalendars, DisplayName = "Calendar").Name);
And finally, if neither one of those solves your issue:
3rd: Add a refresh button on the start page of the app. Just add some kind of refresh icon and copy + paste the code from the OnStart property into the OnSelect property of your refresh icon. If the red banner flashes up, you can press the refresh button to force the app to grab your CalendarId, and then try again.
I had the same error and posted it in a different thread. Please check your O365/EOL language. We're working in a Dutch tenant and "Calendar" is called "Agenda". so changing the string worked for me.
See attached images. In the phone version, if you scroll to the bottom of the rooms list, there should be a 'More Rooms' button that you can press to grab another set of 20 rooms. In the tablet version, that button is on the right corner above the rooms gallery.
Let me know if you have any questions
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.