Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Suggested answer

Code element in email RTM

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

hi,

not sure whether it is a bug or if someone else has the same issue. But if we create an email in RTM it is not possible to add a code element to an email template and add conditions. It is also not possible if it is in the template to modify it. If we use conditions in the code we do miss the option contains. Which would be very useful.

Kind regards,

Anna-Lena

  • Haig Liu Profile Picture
    Haig Liu Microsoft Employee on at
    RE: Code element in email RTM

    Hi Anna-Lena,

    RTM and OBM are functionally different in many ways, and we can't modify HTML to add functionality that RTM doesn't already have.

    We can do only just copy its style.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Code element in email RTM

    Thank you. Not sure whether other users experience the same but we cannot edit the code blocks within RTM to show dynamic content. So what we do we build the email in OBM and then copy the html and paste it into an email in RTM. Editing in RTM is not possible. Any suggestions?

  • Suggested answer
    Haig Liu Profile Picture
    Haig Liu Microsoft Employee on at
    RE: Code element in email RTM

    Hi Anna-Lena,

    Although we can't use code in RTM email like Outbound marketing, we can still edit HTML to implement our ideas.

    Start by creating an element and setting the desired conditions, then modify the contents of the Elements.

    Please note that conditions only apply to images, so don't forget to encase your code with “<div data-editorblocktype="Image"></div>”:

    10.21.png

    Of course, I recommend that you first see if this feature can accomplish your idea: https://learn.microsoft.com/en-us/dynamics365/marketing/real-time-marketing-personalization

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…

Vahid Ghafarpour – Community Spotlight

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

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,074 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,900 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans