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

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

Programmatically add DataTags

mattl1
1-Newbie

Programmatically add DataTags

Hey Guys

I’m trying to programmatically create and add DataTags to things so that I can filter and post to a blog widget by the selected tag. I see that the AddTags() function only assigns/creates ModelTags, and you can’t post something to a blog that is tagged with a ModelTag. Is there a DataTags equivalent to the AddTags() function?


Thanks,

Matt

1 ACCEPTED SOLUTION

Accepted Solutions
paic
1-Newbie
(To:mattl1)

For Blog entries, when you do AddBlogEntry (guessing the name here) you can define tags in the params block.

Also if you look in the Training material (Thingworx Fundamentals) and look in the DataTags section you should see an example there when adding entries to a stream.

View solution in original post

1 REPLY 1
paic
1-Newbie
(To:mattl1)

For Blog entries, when you do AddBlogEntry (guessing the name here) you can define tags in the params block.

Also if you look in the Training material (Thingworx Fundamentals) and look in the DataTags section you should see an example there when adding entries to a stream.

Top Tags