Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Answered

Code Tiles Marketing E-Mail Editor

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

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

  • Verified answer
    cloflyMao Profile Picture
    cloflyMao 25,202 on at
    RE: Code Tiles Marketing E-Mail Editor

    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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,979 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,848 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans