Skip to main content
Level 2
Sep 12, 2024 11:38 AM UTC
Solved

Expression Fragment Customization

I have an expression fragment syntax "{{#inline "var_1"}}Value_1{{/inline}}" which I want to customize in the email content with the following

"{{fragment id='ajo:1f0cd758-e1d5-4034-ba12-d69375018103' mode='inline' var_1='New_Value'}}{{var_1}}". I want the default value "Value_1" to be replaced with "New_Value"; which is not working and giving me the default value "Value_1" instead. Also, popping up a message:

"Your message includes contextual data which won't be rendered in Preview & Test features. You can execute the campaign using API to run E2E test with contextual data".

 

Please help. Thanks in advance

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Anuhya-YAccepted solution
Community Advisor
Sep 12, 2024 3:23 PM UTC

@dboro  Try below code

 

Expression fragment

 

Email personalization with fragment

 

Simulate email content

 

 

 

 

3 replies

Anuhya-YCommunity AdvisorAccepted solution
Community Advisor
Sep 12, 2024 3:23 PM UTC

@dboro  Try below code

 

Expression fragment

 

Email personalization with fragment

 

Simulate email content

 

 

 

 

Translate
DBoroAuthor
Level 2
Sep 13, 2024 6:36 AM UTC

Thanks for your help. It's working now 🙂

Translate
Mohan_Dugganab
Adobe Employee
Adobe Employee
Sep 12, 2024 6:26 PM UTC