I'm trying to update file properties in a Sharepoint Group Site.
The folder structure is: /doclibrary/Jobname/JobPhotos/*.jpeg OR /doclibrary/JobName/JobReciepts/*.pdf
I've started a flow that digs down to the files, and I have confirmed it by reading the outputs in the Run History.
When I find the file, I stick the ID of the file in an array.
I then use the array to look up each file so I can modify a column.
That's where my problem comes back. I can never find the Item from the ID.
What am I doing wrong?
Are you sure that you are grabbing the correct ID tag? Because you have nested loops, you probably have duplicate properties from the tag picker box, one for each level.
In the "Dynamic content" list you'll have headings and items listed under those headings. Make sure you are grabing the ID tag for the level/loop you are in.
Here's an example from one of my multiple level flows -
I think I see the issue, you have Current item in the Id field, which is not needed. Put Id there. In an Apply to each there is no need to explicitly call each item, the loop does it for you.
Hi @BigBeuferd ,
First, you need to know which ID you need to get from the Body of which action.
In addition, if you don't see the expected option in Dynamic content, you could use Compose to get ID value and then configure Compose in Id field.
For example, if the ID is obtained from the Apply to each 5 traversed Body, you could use the following methods to configure the field:
Please take a try.
We've updated and improved the layout and uploading format of the Power Automate Cookbook!
Fill out a quick form to claim your user group badge now!
We've given our badges an overhaul and also added some brand new ones!
Learn how to build the business apps that you need.
Find out where you can attend!
Watch & learn from the Power Automate Community Video Gallery!