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

Programmatically add DataTags

SOLVED
Highlighted
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

Tags (2)
1 ACCEPTED SOLUTION

Accepted Solutions

Re: Programmatically add DataTags

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

Re: Programmatically add DataTags

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