- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
07-08-2022 12:11 PM
Hello everyone,
I am using a Set Data Value extension and trying to pass a string which includes pipes, e.g, "AA | BB | CC" to an UDO through the inline JS code box.
I have tried passing the whole string through text box but it didn't work. Searched on the site and found this - https://community.tealiumiq.com/t5/Tealium-iQ-Tag-Management/Using-quot-quot-in-JS-code-inline/m-p/5... so I have tried JS code with the follwing attempts -
"AA" + "\|" + "BB" + "\|" + "CC" --> failed
"AA | BB | CC" --> failed
"AA \| BB \| CC" --> failed
Does anyone know how I can make it work? Much appreaciated!
Best,
Qisi
07-12-2022 12:56 AM
@QisShao Do you have UTF-8 enabled or Minification turned on in the publish settings?
Can you screenshot the exact extension. If you need to you can change the values you are using.
Thanks,
Adrian
Copyright All Rights Reserved © 2008-2023