Hello,
I need some experience concerning Code tiles in the Marketing E-Mail Editor (Toolbox).
Can anyone support me with a detailed documentation? I only have the one on MS Docs.
e.g. how can you define the properties next to the Toolbox when implementing the Code tile?
Is everything definded in the Code itself?
Thanks in Advance.
Regards
Alexander
Hi Alexander,
As per my understanding towards your question, the Code tile is used to place dynamic content code;
as what Docs introduced in "Dynamic email content" article:
Use custom-code elements place code snippets between design elements on the Designer tab. This is much more visible and reliable than placing the code directly into the HTML using the HTML tab.
e.g:
code content:
{{#if (eq contact.new_preferredlanguage 100000000)}}Good morning.
{{else if (eq contact.new_preferredlanguage 100000001)}}Bonjour.
{{else if (eq contact.new_preferredlanguage 100000002)}}Guten Morgen.
{{/if}}
Show "Good morning" in different languages based on Preferred Language field of Contact.
Regards,
Clofly
André Arnaud de Cal...
291,979
Super User 2025 Season 1
Martin Dráb
230,848
Most Valuable Professional
nmaenpaa
101,156