Render HTML from email in listeview field - K2 Five

  • 5 March 2021
  • 1 reply
  • 0 views

Hi,

 

We have a requirement to display a preview (first two to three lines) of email body content in a listview field for each item in the list. I've tried using the rich text control but it doesn't display at all. I've also tried using a datalabel but it displays the unrendered HTML. My smartobject source is a stored procedure.

 

Is there an OOB way to display this type of data in a listview control?


1 reply

Hello Jaco


 


You should be able to render HTML in a Listview by doing the following:


 


In the K2 Designer, edit the column and under general there should be a tickbox called "literal" that will render the HTML for you. 


 



 


Regards,


Michelle

Reply