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!
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.
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'])
Best Regards,
User | Count |
---|---|
68 | |
50 | |
47 | |
27 | |
18 |
User | Count |
---|---|
26 | |
26 | |
22 | |
20 | |
19 |