Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Removing HTML tags from email Description field when auto-creating a record

(0) ShareShare
ReportReport
Posted on by

I found some articles about writing a plugin to remove HTML tags from the email Description field, and also a JS web resource method. I am more familiar with JS than writing server side plugins so I implemented the code at the bottom of this article in a web resource and attached it to the Lead onFormLoad event. However, it does not appear to strip the HTML from the Description field on page load. Any ideas how I can determine what the issue is or is there updated JS code that might work, or a different method that can be achieved without writing a plugin?

https://community.dynamics.com/crm/f/117/p/121027/777167#777167

*This post is locked for comments

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,161 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,942 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans