Hi,
I developed a bunch of Lists in SharePoint when Classic SharePoint was the only one. I needed to have some columns in the list be rendered out as HTML (for links and images), and I was able to do this by creating a
Calculated Field and setting the data type to be a Number, but now with the latest version of SharePoint Online these fields are getting escaped, and is just showing the HTML code, instead of rendering the HTML. I have to click the Return
to classic SharePoint link (and so does everyone else who uses these lists) in order to view the Hyperlink or the Image that the list is trying to display.
So I was wondering how do you do this in the New SharePoint Online? Or do you guys plan to add a HTML data type or something? I just need to be able to render out a text string and not have the string escaped.
For example this is one of these field's calculations, this will show a green tick if the Yes/No field is set to Yes, and red cross if it is set to No. This is done because the "Yes"/"No" text strings do not look different enough, and you can't see everything
at a glance.
=IF([Yes/No Field],"<img src='/SiteAssets/green-tick.png' width='16px' height='16px' />","<img src='/SiteAssets/red-cross.png' width='16px' height='16px' />")
Thanks,
Martin