Notifications
Announcements
I have a powerapp, from there i construct a json that include captured image and metadata about the image. My SharePoint has document library, one of my powerapp flow create a folder whenever, a new list item is created. current flow takes the json object and folder name and save the images to the folder. My issue is, after file creation, i want to update the fields/columns related to the captured image. I need help for Uri for http request.
Hi @swami12345,
I see you are using ListItemAllFields in your URI. My suggestion would be to use the ValidateUpdateListItem method instead.
Below is an example for a single field, but the formValues array also allows multiple fields at once:
https://tomriha.com/update-single-sharepoint-column-in-power-automate-with-http-request/
hi @Expiscornovus
i think list "_api/web/lists" will not work with me. I have folders in image library, and within the folder, i have images stored. Can you suggest any approach
also "form values" is for list, does the data inside the folder is considered as list
A folder or file also has an item id (in your case if your creating the folder you should get the id returned in the outputs). So you should also be able to use that method for files and folders as well.
I have used this method before file metadata property updates. Do you want me to share an example for an Image Library folder?
@Expiscornovus , it will be very helpful if you share the image. Thank you
Below is an example
The URI uses the ItemId of the Create File action. That should be the ID of the image your are trying to update.
URI
_api/web/lists/GetByTitle('Image Library')/items(@{outputs('Create_file')?['body/ItemId']})/validateUpdateListItem
Body
{ "formValues":[ { "FieldName": "Element_ID", "FieldValue": "Power Automate Ftw" }, { "FieldName": "Floor_Number", "FieldValue": "13" } ] }
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Michael E. Gernaey 522 Super User 2025 Season 2
Tomac 364 Moderator
abm abm 243 Most Valuable Professional