Forum Discussion
Saintenr
Aug 28, 2020Copper Contributor
SharePoint Online Rest API update managed metadata columns
Hello Community, I am trying to implement an API based file upload using the following Microsoft tutorial: https://docs.microsoft.com/de-de/sharepoint/dev/sp-add-ins/upload-a-file-by-using-the-re...
- Sep 28, 2020
After contact with Microsoft support we have come to the conclusion that it is not necessary to delete the default values for the columns. The following format is possible and works fine.
The URI only needs to be extended by one function.itemMetadata.uri+'/ValidateUpdateListItem()The ValidateUpdateListItem function needs this json format as body:{ "formValues": { "FieldName": "Metadatacolumn", "FieldValue": taxItemLabel + '|' + taxItemTermGuid }, "bNewDocumentUpdate": false }Cheers,
Saintenr
Saintenr
Sep 16, 2020Copper Contributor
Hello, an update from me.
The problem why the metadata columns could not be updated was that the Document Library had default values set for folders and subfolders. If this function is active, no managed metadata column can be updated via the api...
Possible solution:
Delete this default value rules for every folder on the library.
Hope this will helps other users too.
Cheers Saintenr
The problem why the metadata columns could not be updated was that the Document Library had default values set for folders and subfolders. If this function is active, no managed metadata column can be updated via the api...
Possible solution:
Delete this default value rules for every folder on the library.
Hope this will helps other users too.
Cheers Saintenr