Thursday, May 21, 2015

Converting HTML to description field in Email Activity show html tags..

To remove all HTML tags when insert the html to description fields replace the content with the next command:


Xrm.Page.getAttribute("description").setValue(Xrm.Page.getAttribute("description").getValue().replace(/<[^>]*>?/g, ""));


Enjoy,
Rami Heleg

No comments:

Post a Comment