Expand my Community achievements bar.

Join us on September 25th for a must-attend webinar featuring Adobe Experience Maker winner Anish Raul. Discover how leading enterprises are adopting AI into their workflows securely, responsibly, and at scale.
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!