Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

kevin_faurholt
Community profile kevin_faurholt Level 1
Job title here
Location here
1 BADGE
Level 1

Level 1

Learn more
Joined the community 30-05-2017 7:03:03 AM
Offline
Top badges earned by kevin_faurholt
Customize the badges you want to showcase on your profile
Re: storing an array of strings in a profile attribute
Avatar
Validate 1
Level 1
kevin_faurholt
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
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)

Views

1.1K

Likes

0

Replies

0
storing an array of strings in a profile attribute
Avatar
Validate 1
Level 1
kevin_faurholt
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
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...

Views

2.3K

Likes

0

Replies

3