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

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 II
Helper II

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

Helpful resources

Announcements
October Events

Mark Your Calendars

So many events that are happening this month - don't miss out!

Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Top Solution Authors
Top Kudoed Authors
Users online (3,016)