since ‎30-05-2017
‎10-12-2019
kevin_faurholt
Level 1
Re: storing an array of strings in a profile attribute kevin_faurholt - Adobe Target
Hi Avik,Thanks for your reply. I am passing the array with quoted elements. Point is, that is not what is returned from the TnT engine (missing the quotes)
970
Views
0
Likes
0
Answers
storing an array of strings in a profile attribute kevin_faurholt - Adobe Target
Hi,I have the following profile script:user.arrayTestif (mbox.name == "kevins_mbox") { user.setLocal("arrayTest", ["hello", "world"]); return user.getLocal("arrayTest");}However, when trying to use the array in a JS offer via: ${user.arrayTest}The final output looks like this: [hello, world] - i.e. the quotes are missing and a JavaScript error is thrown.According to this document: http://microsite.omniture.com/t2/help/en_US/tnt/pdf/js_expression_cheat_sheet.pdf"Script Profile Parameters are foun...
2060
Views
0
Likes
3
Answers and Comments