locked
Need display email body to case description RRS feed

  • Question

  • hi

    I have develop one plugin for email to case creation I need fetch the email body and put on the case description. But description is show as html code. I need display the content of the email body. I have tried html tags removal method but it remove all the html tags so even the images in the mail also removed. I need display the contents with out affecting their formatting.


    Ravin Singh D

    Tuesday, May 28, 2013 10:01 AM

All replies

  • It's probably easier to display the contents as HTML, rather than remove all the tags. One option would be to store the body in a separate field on the case entity, add an IFrame to the case form, and populate the IFrame with the email HTML

    Microsoft CRM MVP - http://mscrmuk.blogspot.com/ http://www.excitation.co.uk

    Tuesday, May 28, 2013 11:00 AM
    Moderator
  • Hi Ravin,

    I don't think you can display images in the description field on the case since it's a text field, I haven't tried it though.

    Regards


    Rickard Norström Developer CRM-Konsulterna
    http://www.crmkonsulterna.se
    Swedish Dynamics CRM Forum: http://www.crmforum.se
    My Blog: http://rickardnorstrom.blogspot.se

    Tuesday, May 28, 2013 11:22 AM
  • how can i populate i frame from other field

    Ravin Singh D

    Tuesday, May 28, 2013 5:56 PM