Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Pro Dev & ISV
Answered

Show formatted rich text in model-driven app view

(0) ShareShare
ReportReport
Posted on by 35

I have a dataverse solution with a model-driven app. I am using Rich Text Editor Controls on a table form. 

funkeke_0-1645134253401.png

 

The value gets stored in a Multiline Text field. If I add this field to a table view, it shows the unformatted HTML.

funkeke_1-1645134375626.png

 

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? 

  • Verified answer
    funkeke Profile Picture
    35 on at
    Re: Show formatted rich text in model-driven app view

    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.

  • Diana Birkelbach Profile Picture
    3,072 Most Valuable Professional on at
    Re: Show formatted rich text in model-driven app view

    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.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Apps - Power Apps Pro Dev & ISV

#1
WarrenBelz Profile Picture

WarrenBelz 109 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 82 Super User 2025 Season 1

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 72

Overall leaderboard