I try to upload file into sharepoint document library with metadata , but it has error
activity: UiPath.MicrosoftOffice365.Activities.Files.UploadFile Upload File: Error while trying to set metadata (Hint: Metadata can be set only for a DriveItem stored in a SharePoint Document Library.)
Cloud you please share the content of the DataTable variable holding the metadata & the type of the respective field on the Document Library ? This will help us assist you further.
Even I am facing the same issue , I am passing metadata in the form of 2 column ,
Display name as string and value as object.
Is that compulsory Do we need to set all the meta data. Because few fields are in the form of choice, before they used to set in the form of dictionary and value as string<> .
Still facing the issue.
I’m running into this issue with choice field that has “Allow multiple selections” set to Yes in Sharepoint field settings. I cannot pass in multiple values when needed for this one field.
when I switch the Yes to No, I am able to add a single value to dtMetadata Value column, but that would not satisfy the business need.
Does anyone know how to send in an array to the Value column in metadata?