Forum Discussion
SharePoint Online Rest API update managed metadata columns
- 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 Hello, I am in the process of migrating data to sharepoint and have a requirement to update the metadata for managed MetaData fields for documents uploaded. I need to download the TermGuid for all the items in the TermSet. I will have to then pass the TermGuid and Label to the update document API call. I do not see any REST API avaiable to download the TermSet information for a specific managed meta data field. In your code example I see that you already have this information. Where and how are you getting this information. It would be really helpful if you can tell me how you are getting this information. Thanks so much for your help!
TaxCatchAll/ID
TaxCatchAll/Term