Expand my Community achievements bar.

SOLVED

Expression Fragment Customization

Avatar

Level 2

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

Topics

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

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@DBoro  Try below code

 

Expression fragment

AnuhyaY_0-1726154477192.png

 

Email personalization with fragment

AnuhyaY_2-1726154579867.png

 

Simulate email content

AnuhyaY_1-1726154546343.png

 

 

 

 

View solution in original post

3 Replies

Avatar

Correct answer by
Community Advisor

@DBoro  Try below code

 

Expression fragment

AnuhyaY_0-1726154477192.png

 

Email personalization with fragment

AnuhyaY_2-1726154579867.png

 

Simulate email content

AnuhyaY_1-1726154546343.png