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

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! 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