web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

Code Tiles Marketing E-Mail Editor

(0) ShareShare
ReportReport
Posted on by

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

I have the same question (0)
  • Verified answer
    cloflyMao Profile Picture
    25,210 on at

    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:

    36322.png

    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:

    pastedimage1599184342542v1.png

    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.

    pastedimage1599184568197v3.png

    pastedimage1599184503801v2.png

    Regards,

    Clofly

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 57 Super User 2026 Season 1

#2
Eugen Podkorytov Profile Picture

Eugen Podkorytov 26

#3
CU07021359-0 Profile Picture

CU07021359-0 23 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans