cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Karlin
New Member

Book a room template broken?

Hi

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.

Help. Please.

 

32 REPLIES 32
v-micsh-msft
Community Support
Community Support

Hi @Karlin,

 

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:

https://docs.microsoft.com/en-us/connectors/office365/#Get_calendar_view_of_events_(V2)

 

I will check it from my side and update here if I have more findings.

 

Regards,

Michael

 

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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,

do you find the solution?

 

Regards

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:

 

UnconnectedDataSources.png

 

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.

Anonymous
Not applicable

Mine works but only presents 20 rooms - how can I increase that number?

Hi Jonas,

 

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

Anonymous
Not applicable

Really strange, both me and my collegue gets 20 rooms when there should be many more during that time... 

Ahh yes, I'm pretty sure I know what the issue is... Give me a few days to get together a solution

Helpful resources

Announcements
Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Users online (2,479)