cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Is there a Nintex action that can update a term store with an approved term?

Jump to solution

I would like all new terms to go through an automated approval process before they are added to the term store. Ideally I would like a user to submit their term request via a workflow and if approved, it gets added to the term store and is ready for use by all.

Thanks

Labels: (1)
Tags (1)
0 Kudos
Reply
5 Replies
Automation Master
Automation Master

Re: Is there a Nintex action that can update a term store with an approved term?

Jump to solution

There is still no REST API for manipulating the term store. Operations on the term store can only be done using deployed apps or JSOM code. Adding is also possible using SOAP web service. So if you would like a new term after it is approved you need to use "Web Request" action and simply call SOAP web service proper method with a correct data: https://[YOUR_TENANT].sharepoint.com/_vti_bin/TaxonomyClientService.asmx?op=AddTerms 

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <AddTerms xmlns="http://schemas.microsoft.com/sharepoint/taxonomy/soap/">
      <sharedServiceId>guid</sharedServiceId>
      <termSetId>guid</termSetId>
      <lcid>int</lcid>
      <newTerms>string</newTerms>
    </AddTerms>
  </soap:Body>
</soap:Envelope>

Here is a complete documentation: https://msdn.microsoft.com/en-us/library/microsoft.sharepoint.taxonomy.webservices.taxonomyclientser...

However if you would like to delete or update a term or a whole termset, then you need to use object model  Web service only delivers C&R from CRUD

Regards,

Tomasz

Reply
kmcollins
Nintex Newbie

Re: Is there a Nintex action that can update a term store with an approved term?

Jump to solution

Hi Tomasz,

This is great - could you please elaborate on how to configure of the web request action? 

Kind regards,

Katherine

0 Kudos
Reply
Automation Master
Automation Master

Re: Is there a Nintex action that can update a term store with an approved term?

Jump to solution

‌ do you find my answer as correct and helpful? Can you mark it as the solution? Or maybe you have found a better way to achieve what you asked for? Can you share it with us?

Regards,

Tomasz

0 Kudos
Reply
jflong
Nintex Newbie

Re: Is there a Nintex action that can update a term store with an approved term?

Jump to solution

Has anyone actually implemented this?  I'm receiving the dreaded "error(500) Internal Server error".  I'm not convinced that I have the XML correct that is passed as "string" to the newTerms tag:

0 Kudos
Reply
schneika
Nintex Newbie

Re: Is there a Nintex action that can update a term store with an approved term?

Jump to solution

I'm also receiving the "error(500) Internal Server error"

 

Seems not working for many others:

http://www.amicuk.com/web-service-addterms-for-taxonomyclientservice-not-working/

 

https://community.nintex.com/t5/Nintex-for-SharePoint/Insert-new-term-inside-a-termset/td-p/1091

 

Deprecated SOAP Web Service Method?

0 Kudos
Reply