Skip to main content

Notifications

Announcements

No record found.

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

Code element in email RTM

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans