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

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

Programmatically add DataTags

mattl1
7-Bedrock

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

ACCEPTED SOLUTION

Accepted Solutions
paic
12-Amethyst
(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
12-Amethyst
(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.

Announcements


Top Tags