AnsweredAssumed Answered

How to add a metadata term by web service call

Question asked by ahaaften on Aug 18, 2017



I'm working with SharePoint 2013 and Nintex Workflow in order to turn list item input into a taxonomy term. There's no standard action to do this, so I'm using the /TaxonomyClientService.asmx. 


This web service method "AddTerms" requires 4 input variables:


      <sharedServiceId>guid</sharedServiceId>       <termSetId>guid</termSetId>       <lcid>int</lcid>       <newTerms>string</newTerms>

I've checked and tested the input by using the "GetChildTermsInTermSet" method and that gives me the expected response. For adding a term I keep getting HTTP 500 errors.



I don't seem to get the input right for the <NewTerms> parameter.


One would assume this has been done before, since the service has been out there for 10 years, but no such luck browsing the internet.


Any hits, tips or solutions would be much appreciated.


Thank you