web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Create folder and upda...
Power Automate
Unanswered

Create folder and update column value

(0) ShareShare
ReportReport
Posted on by

I have a library with a custom column, in folder creation, how would I go about inserting a value to this column?

2021-05-07_09-47-23.png

I tried using GET FOLDER METADATA but I don't see the Category column from the results and or from the list of columns to UPDATE FILE PROPERTIES.

2021-05-07_09-51-06.png



I also tried SEND HTTP REQUEST to get the LIST ITEM ALL FIELDS

 

_api/web/GetFolderByServerRelativeUrl('@{triggerBody()['text']}/@{items('Apply_to_each')?['Acronym']}')/ListItemAllFields

 


which returned the column:

 

"Category": null,

 


So I switched it to POST with the following body

 

{
"Category":"Title"
}

 


I got an error message

 

Invalid request.
clientRequestId: dddddd-b0a3-4a03-9ac8-de4e50000000
serviceRequestId: ddddd59f-90f4-c000-051a-93172300000

 

 



Categories:
I have the same question (0)
  • tom_riha Profile Picture
    10,185 Most Valuable Professional on at

    Hello @Tamras ,

    if you know the folder ID (which you should know after you create it), you can update the metadata with the HTTP request below.

    Method: POST
    
    Uri: _api/web/lists/GetByTitle('<libraryName>')/items(<folderID>)/validateUpdateListItem
    
    Body:
    {
     "formValues":[
    	{
    	 "FieldName": "...",
    	 "FieldValue": "..."
    	}
     ]
    }

    image.png

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.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard