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

ThingWorx Navigate is now Windchill Navigate Learn More

Translate the entire conversation x

How to add data tag term using javascript code

tsharma
10-Marble

How to add data tag term using javascript code

Is there any way to add terms in an existing data tag dynamically using javascript in service?

1 REPLY 1
supandey
19-Tanzanite
(To:tsharma)

Hi Tushar, did you already check the AddVocabularyTerm service? You can call this to add terms to DataTags

var params = {

  term: undefined /* STRING */

};

// no return

DataTags["TestTag"].AddVocabularyTerm(params);

Hope this helps.

Announcements


Top Tags