cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Error with Book a Room

Hi guys,

 

I work on a new project for my job, we would like to use the application called : "Book a Room".

 

But we have got a problem, the script is broken, we think, look this :

 

error 1.JPG

 

 

 

 

 

 

 

 

 

 

(I am french, and the application is in french)

 

The error is on V2CALENDARPOSTITEM, it's written "we use the bad table".

 

So i think the problem is : the application use the bad calendar, we work with a organization group and many rooms we created for that, the book a room must to targer the calendar of a room.

 

Best regards.

5 REPLIES 5
Highlighted
Community Support
Community Support

Re: Error with Book a Room

Hi @Matt68 ,

 

Please check if all your data sources in this app are connected correctly. If not, please first fix the connection. 

 

I just tested to created a Book a Room template app, and I do not have your issue. Please try to create a new one and test.

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Frequent Visitor

Re: Error with Book a Room

Hi @v-monli-msft ,

 

All data sources are connected correctly. it's possible it doesn't work cause i'm not admin of rooms ? I'm a user in my organization, it's a admin who created the rooms.

 

Best regards.

Highlighted
Frequent Visitor

Re: Error with Book a Room

Hi,

 

Sorry for the double post but anyone has a idea for my problem ?

 

Best regards.

Highlighted
Community Champion
Community Champion

Re: Error with Book a Room

Hi @Matt68 in researching your issue I found something that may be helpful. Another user was having trouble with the V2CalendarPostItem function. 

 

Here is a link to the thread - https://powerusers.microsoft.com/t5/General-Discussion/Office365-V2CalendarPostItem/td-p/65458

 

Here is the post that may be helpful:

 

"The Office365.CalendarGetTables().value function returns a list of calendars sorted alphabetically.  Although the first calendar on one tenant was "Calendar", on the other tenant is was "Birthdays".

 

Solution?  Simple really, in the dropdown advanced settings make the default value "Calendar", this retrieves the relevant ID.

 

Summary:

 

Create a dropdown control.

 

Make its datasource Office365.CalendarGetTables().value,

Make its value DisplayName

choose default value "Calendar".

 

Make a button and put this into Onselect

 

Office365,V2CalendarPostItem(Dropdown1.Selected.Name,"Test Appointment","01/01/2018 10:00","01/01/2018 11:00")"

 

@TopShelf-MSFT 

Highlighted
Frequent Visitor

Re: Error with Book a Room

Hi @TopShelf-MSFT

 

I think we have not the same problem, cause I need to access at calendars of my organization (Meeting room) and I don't see meeting rooms in PowerApps. 

 

Capture.JPG

 

Summary:

 

Create a dropdown control. Where do I put him ?

 

Make its datasource Office365.CalendarGetTables().value,

Make its value DisplayName

choose default value "Calendar".

 

Make a button and put this into Onselect Same for this.

 

Office365,V2CalendarPostItem(Dropdown1.Selected.Name,"Test Appointment","01/01/2018 10:00","01/01/2018 11:00")"

 

Capture2.JPG

Helpful resources

Announcements
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (9,295)