cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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.

 

31 REPLIES 31
Highlighted
Community Support
Community Support

Re: Book a room template broken?

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.
Highlighted
New Member

Re: Book a room template broken?

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.

Highlighted
New Member

Re: Book a room template broken?

Hi,

do you find the solution?

 

Regards

Highlighted
Power Apps
Power Apps

Re: Book a room template broken?

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.

Highlighted
Frequent Visitor

Re: Book a room template broken?

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.

Highlighted
Anonymous
Not applicable

Re: Book a room template broken?

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

Highlighted
Power Apps
Power Apps

Re: Book a room template broken?

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

Highlighted
Anonymous
Not applicable

Re: Book a room template broken?

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

Highlighted
Power Apps
Power Apps

Re: Book a room template broken?

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
Community Conference

Power Platform Community Conference

Come join us today! Find your favorite faces from the community presenting at the Power Platform Community Conference!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (2,788)