Hi,
I’m facing issues in updating metadata along with a file in a particular SharePoint. Yesterday it worked as expected. But I’m getting error as below.
Error: Upload File to Archive: Error while trying to set metadata (Hint: Metadata can be set only for a DriveItem stored in a SharePoint Document Library.)
Could you please share a screenshot or more details about your activity configuration?
Was it Studio Desktop or Studio Web? What are the versions of the activity packages in your project?
I’m unable to upload the image.
Let me explain the step I’ve done.
Built a datatable mentioning two columns “Name”(String), “Value”(Object)
There are 5 fields which are required to be updated in Metadata
then Uploading the file along with Metadata using Upload file activity.
The package version which I’m using is UiPath.MicrosoftOffice365.Activities = 2.4.3
Could you please check again with the latest version of the MicrosoftOffice365 package?
Version 2.4.3 was released in 2023, which is a significant gap from version 3.4.10 that contains many fixes. It could be as simple as that, so I’d like to rule it out first.
It worked after updating a particular field in metadata which was in DD/MM/YYYY In actual SharePoint it shows date as DD/MM/YYYY. I’ve modified the field as MM/DD/YYYY in the flow and it worked. Though we push the metadata as MM/DD/YYYY, It reflected in SharePoint as DD/MM/YYYY format.
Just so that we’re sure we don’t miss any important feedback here:
I did not fully understand which activity caused this issue for you:
Error: Upload File to Archive: Error while trying to set metadata (Hint: Metadata can be set only for a DriveItem stored in a SharePoint Document Library.)