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

Snippets - DataTagPicker does not work

tcoufal
12-Amethyst

Snippets - DataTagPicker does not work

Hi Guys,

I have spotted an error in way how the DataTagPicker works in script.

it generates tags separated by comma. This actually creates a separate Term (if you have your terms dynamic).

It should be separated by semicolon or written like this:

tags: [

            {

              vocabulary: "Framer_TV",

              vocabularyTerm: "KAAUF22"

        },

            {

              vocabulary: "Framer_TV",

              vocabularyTerm: "VibConRF_1"

            }

  ]

Can anyone confirm?

3 REPLIES 3
ttielebein
12-Amethyst
(To:tcoufal)

Which version of ThingWorx and exactly which snippet are you using here?

tcoufal
12-Amethyst
(To:ttielebein)

TW: 7.2.2 b66. I have service that stores entry into the stream.

If I choose this under snippets, it returns (2 tags separated by comma):

"Framer_TV:KAAUF22, Framer_TV:KAAUF12", So 2 Terms from the same Vocabulary (Framer_TV) but if run your service it will create a new tag called:

"KAUF22, FramerTV:KAAUF12" inside vocabulary Framer_TV. If you separate it with semicolon it works as expected.

ttielebein
12-Amethyst
(To:tcoufal)

I can't get this snippet to work at all. Mine won't even let me select a data tag. I am in 7.2.4. You may want to open a support case for this issue

Top Tags