Expand my Community achievements bar.

Never miss an update of the Adobe Journey Optimizer Community Lens! Subscribe now to get the latest updates, insights, and highlights delivered straight to your inbox every time a new edition drops.
SOLVED

How to assign a Profile property to a variable

Avatar

Level 2

I want to assign a profile property to a variable, like so, but I get an error

{% let Pemail = {{profile.identityMap.email}} %}

 

Thank you, 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@GeorgeVi2 You should be using a similar syntax below,

{% let test = profile.person.name.firstName %} {{test}}

Thanks, Sathees

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

@GeorgeVi2 You should be using a similar syntax below,

{% let test = profile.person.name.firstName %} {{test}}

Thanks, Sathees

Avatar

Level 2

Thank you!