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

Getting list of all rooms

Hi all,

 

I want to get a list of all rooms / resources.

On the main screen in the onStart property I've added:

 

ClearCollect(AllRooms, Office365.GetRooms().value);

 

When I then add a gallery with "AllRooms", the gallery is empty. ( CountRows(AllRooms) results in 0 ).

 

Any ideas what I am doing wrong?

 

Regards

Stefan

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
OneThing
Level 8

Re: Getting list of all rooms

Hi @stefansc,

 

How are you displaying the List? I believe there is a limit of 100 items for dropdowns and Galleries load in 100 blocks(Scroll to the bottom to load) up to 500. 

 

Having a list of over 100 items is a bit unweildly, so its usually a better idea to have a search, or dropbowns, to Filter by location. This will allow you to see all rooms. 

 

Thanks,
Nicky

View solution in original post

4 REPLIES 4
OneThing
Level 8

Re: Getting list of all rooms

Hi Stefan.

 

Your command works for me. When you go to View > Collections what do you see in the AllRooms Collection?Screenshot_10.png

 

If you have no items in there then check the Connector and make sure the user chosen can access the Room List.

 

You can also Set the items Property of the gallery to Office365.GetRooms().value to look directly at 365 as a test.

 

If this doesn't work then I'd suspect the connector. Maybe recreate using an admin account to test.

 

Thanks,
Nicky

stefansc
Level: Powered On

Re: Getting list of all rooms

Hi Nicky,

 

I've recreated the connector and I now can get the rooms. Unfortunately only the first 100 rooms are being displayed.

Is there a limitation in the connector?

Highlighted
OneThing
Level 8

Re: Getting list of all rooms

Hi @stefansc,

 

How are you displaying the List? I believe there is a limit of 100 items for dropdowns and Galleries load in 100 blocks(Scroll to the bottom to load) up to 500. 

 

Having a list of over 100 items is a bit unweildly, so its usually a better idea to have a search, or dropbowns, to Filter by location. This will allow you to see all rooms. 

 

Thanks,
Nicky

View solution in original post

stefansc
Level: Powered On

Re: Getting list of all rooms

Hi Nicky,

 

thanks. That helped. It works now.

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 177 members 5,516 guests
Please welcome our newest community members: