1 Reply Latest reply on Jan 17, 2018 10:45 PM by mattl RSS
    mattl Explorer

    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?



      • Re: Programmatically add DataTags
        paic Collaborator

        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.