cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jorgeurrutia
Level: Powered On

Creation of collection

Hello, I need help to créate a collection with all meeting rooms availables or unavailables i need see the name, start hour and end hour, please can you help.
1 REPLY 1
Community Support Team
Community Support Team

Re: Creation of collection

Hi @jorgeurrutia ,

Could you please share a bit more about your scenario?

Do you want to create a collection with all available or unavailable Meeting rooms?

 

Based on the needs that you mentioned, I think the Office365Outlook.GetRoomsInRoomList(...) function and  Office365Outlook.FindMeetingTimes(...) function could achieve your needs.

I think the "Book A Room (New)" template app could help in your scenario. You could create an app based on "Book A Room (New)" template app, then please go to the RoomSelectScreen, select the OnVisible property:

3.JPG

 

2.JPG

 

On your side, please consider add a button in your blank app, set the OnSelect property to following:

ClearCollect(
             AvailableRooms, 
             Office365.FindMeetingTimes({
                                        RequiredAttendees: Concat(Office365Outlook.GetRooms().value, Address & ";"), 
                                        IsOrganizerOptional: true, 
                                        Start: StartDateTimeUTC,   // Text value, format: yyyy-mm-ddThh:mm:00.000Z
                                        End: EndDateTimeUTC, // Text value, format: yyyy-mm-ddThh:mm:00.000Z
                                        MeetingDuration: DateDiff(StartDateTime, EndDateTime, Minutes),
                                        MinimumAttendeePercentage: "1", 
                                        ActivityDomain: "Unrestricted"
                                     })
);

 

Please consider take a try with above solution, check if the above solution could help in your scenario.

 

Best regards,

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

Helpful resources

Announcements
New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (8,002)