Hello,
Trying to add text to column “VendorName” in sharepoint document library as in image:

Using “updating file or folder metadata” acitivity doing this but get resource not found error, I checked path and it is correct.
Just to add: Using “uploading file” activity I achieved it but that is at file level but I have to do it same when I create folder as well.
Any help appreciated!
Hey @Mohammed_Umar_Farooq,
Use Update File/Folder Metadata activity with ItemId instead of path.
Ensure VendorName column is enabled as metadata in SharePoint library.
Retrieve folder using Get File/Folder to get ItemId and then update metadata.
Let me know the update.
Thanks for quick reply Mir.
I am getting the folders from Sharepoint url using get file/folder like below in image:
using for each file or folder like image below:
Am I doing correctly?
Hey @Mohammed_Umar_Farooq,
Yes, the procedure is correct since you are retrieving the folder and then passing CurrentItem to update metadata.
Ensure the DataRow column name matches exactly with the SharePoint column.
Validate that the loop passes the correct ItemId for each folder before updating.
Are you facing any further issues?
Actually, I did the same at the file level using “Upload file” activity and i am able to successfully add the text to the empty column “vendor name”.
Tried a lot but not sure, guess I am doing mistake somewhere.
Hey @Mohammed_Umar_Farooq,
Since it is working at the file level with Upload File, the approach is correct.
For folders, ensure you are using the exact ItemId from Get File/Folder and passing it to Update Metadata.
Double-check that the VendorName column is enabled for folders in the SharePoint library, as some columns apply only to files.
Can you check all the details in the immediate panel during debugging and provide the details.
Let me know after checking
1 Like
Hi @Mohammed_Umar_Farooq
Could you please confirm if file/folder url you are using to get folder is correct?
Secondly, please confirm that you are getting error exactly at activity updating file metadata?
Can you try to catch inner exception by wrapping try catch around update metadata activity and print Exception.InnerException
do you see any additional more helpful error message there?
Actually the way I am trying is correct, API is blocked to be updated using metadata . Hence I got these error