I have a dataverse solution with a model-driven app. I am using Rich Text Editor Controls on a table form.
The value gets stored in a Multiline Text field. If I add this field to a table view, it shows the unformatted HTML.
Is there a way to get the rendered HTML to show in the view instead?
Second question, if the user exports to Excel and includes this column in the export, is there a way to strip the HTML tags?
Thanks, the info in that link is helpful. It seems that the appearance of a column in a form view can be customized using a code component of Power Apps component framework (PCF). It seems you can execute arbitrary JavaScript to make modifications to the appearance of a given cell in the view. Theoretically you could take the rich text value and render it as HTML in the cell. However, doing this would mean that view has to be managed using code from now on and can no longer be edited using the friendly interface of the Power Apps maker.
As for the export, a flow could be triggered on update of the rich text column that strips the HTML tags and saves the plain value to another column. If you're going through this effort already, you could skip out on making the custom view described above, and just use this plain column in table views.
For me and my business case, rich text was a "nice-to-have" and the effort on either of the above strategies is not going to be worth it. We will just use plain text for now.
Hi @funkeke ,
Maybe it's not exactly what you are looking for, but have you seen this thread already: https://powerusers.microsoft.com/t5/Power-Apps-Pro-Dev-ISV/How-to-display-rich-text-content-in-grid-in-model-driven-app/td-p/1427128 ?
Maybe it helps.
WarrenBelz
109
Most Valuable Professional
Michael E. Gernaey
82
Super User 2025 Season 1
MS.Ragavendar
72