cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Incomplete query using Get File (Properties Only)

I have a subfolder with approx. 500 images in it. I'm trying to use Get File (Properties Only) to get the folder path and name of the image, which is then fed into a .csv and uploaded to sharepoint. As of right now, I'm only getting about 40/500 images into my table. Very confused as to why I've seemed to hit a limit. Thanks in advance for the help!

 

Capture.JPG

2 REPLIES 2
Dual Super User III
Dual Super User III

Its not dependent on how many items are in the folder, but how many items are in the library itself.  You'll need to provide some kind of OData query to cut down the number of items that are being returned from the server.  Right now I suspect you are filtering on the client side.  So you get 500 items but they don't all match the folder you want so you end up with 40 or so.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
Community Support
Community Support

Hi @Anonymous ,

 

Could you tell us how you judged that Get files action only got information for 40 images?

Basically, Get files action gets information about all the files and folders in the specified Library, as long as you don't add any restrictions.

You could use length() function to get the number of items retrieved by Get files action.

length(body('Get_files_(properties_only)')?['value'])

27.PNG

 

Best Regards,

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

Helpful resources

Announcements
PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Top Solution Authors
Users online (9,393)