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,...
Suggested Answer

Pasting code into the html email editor

(0) ShareShare
ReportReport
Posted on by 5

In the past, I was able to insert a piece of simple code into the editor so I could make a simple change outside of what Dynamics could provide on it's drag and drop designer board.  I'm not a fluent coder, but the piece I've been really wanting to paste recently is a bit more complex and it's causing havoc.  I'm thinking that in the pasted piece of code, there's a small piece of code, either css or java that's causing issues.  My plan is to export to word, and search for character strings for the offending code, either java or css.  Could anyone out there think of css or java character strings that could help me identify the unneeded code so I could strike it from off the face of the planet?

I have the same question (0)
  • Suggested answer
    ShravanSuri Profile Picture
    1,255 on at

    Hey Excellerant - I understand that bringing code from one system into another can be a problem. If you share what you're trying to paste in with the community, we might be able to help.

    Note that the email editor in marketing can only support HTML/CSS and some handlebar syntax (that we use for dynamic text - like {{contact.firstname}} ). If you're bringing in code from another system - we would not be able to support it.

    Additionally, could you share what are the pain points you face when creating emails using drag and drop - and what elements are you trying to add?

    Thanks,

    Shravan Suri

    PM, D365 Marketing

  • cloflyMao Profile Picture
    25,210 on at

    Hi Partner,

    Could you give an detailed example for the problem you are encountering?

    "but the piece I've been really wanting to paste recently is a bit more complex and it's causing havoc."

    Why would you think that the piece haven become more complex recently?

    As per my understanding, you could copy source code of marketing page to a local html file and test it in Visual Studio Code, and use an extension called "Preview on Web Server" to run the page in a localhost server, it will monitor each time change of code and reload the live page.

    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

News and Announcements

Season of Giving Solutions is Here!

Quick Links

Responsible AI policies

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

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Pallavi Phade Profile Picture

Pallavi Phade 94

#2
Tom_Gioielli Profile Picture

Tom_Gioielli 69 Super User 2025 Season 2

#3
TAHER Mehdi Profile Picture

TAHER Mehdi 58

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans