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

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Remove HTML from portal comment generated by email

(0) ShareShare
ReportReport
Posted on by

I have a workflow which takes an email regarding a case that gets sent to our support desk and creates a portal comment using the email body as the portal comment description.  However, the portal comment that is generated includes all the html from the email.  I had a similar issue occur with the case description showing html, which was solved with some javascript put on the onload event.  

Does anyone know of a similar solution (whether with javascript or something else) in order to remove the html from the portal comment activity?  I am fairly new to all of this, so answers with as much detail and steps are very welcome.  

Thank you for your time,

Amanda

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Aric Levin - MVP Profile Picture
    30,190 Moderator on at
    RE: Remove HTML from portal comment generated by email

    You can probably create a custom workflow or plugin on the create of a case comment that will strip the Html elements out.

    See the following forum post:

    community.dynamics.com/.../121027

    The answer from Ben Hosking should work for you.

    I am not sure if one of the Custom Workflow Tools has any of those features in it.

    Hope this helps.

  • Suggested answer
    gdas Profile Picture
    50,091 Moderator on at
    RE: Remove HTML from portal comment generated by email

    Hello Awijas,

    Could you please check below article , seems the html text breaking du to styles sheet.  Also another article is for how to convert them. Hope this helps.

    community.dynamics.com/.../186677

    crmbusiness.wordpress.com/.../crm-2013-convert-email-html-to-plain-text

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
HR-09070029-0 Profile Picture

HR-09070029-0 2

#2
ED-30091530-0 Profile Picture

ED-30091530-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans