cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AlHal2
Helper I
Helper I

Using Flow to return a SharePoint list to Powerapps

Good Morning,

 

I've used this Flow to return the count of any Sharepoint list to Powerapps.

https://masteroffice365.com/get-sharepoint-library-or-list-total-items-from-power-apps/

 

How would I modify it to return the contents of a list to Powerapps, so that I can use Powerapps to put it into a collection?

 

Would this mean I don't have to worry about Delegation if the list has more than 2000 items?

 

This is what I've tried so far.

There is a variable TotalItemsCount which I have changed to ListItems.  Instead of using an Integer I set ListItems to an array.

In the Get Library list contents I use this for the URI.

concat( '_api/web/lists/GetbyTitle(''', first( body('Filter_Library_List_Being_Queried') )?['displayName'], ''')/Items' )
 
I'm not sure what to put in as the last step given that I want it to be able to return the contents of any list.  I think this rules out a parse json step as that requires a definite schema.
2 REPLIES 2
v-xiaochen-msft
Community Support
Community Support

AlHal2
Helper I
Helper I

It's a premium connector.  Is there another way?

Helpful resources

Announcements
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 (4,535)