cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
dakotav14
Level: Power Up

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
Dual Super User

Re: Incomplete query using Get File (Properties Only)

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 Team
Community Support Team

Re: Incomplete query using Get File (Properties Only)

Hi @dakotav14 ,

 

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
thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (5,177)