web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / HTML on entity form in...
Power Pages
Unanswered

HTML on entity form in Power Apps Portal

(0) ShareShare
ReportReport
Posted on by 15

Hi,

 

I have a multi text field in the CDS. This field holds HTML, which internal users view with a Canvas app. We are looking into opening our system up to external users. When I view the form that has the HTML text field on it, in a portal, it shows as HTML code. Is there away to have the portal render the HTML formatting? 

Categories:
  • oliver.rodrigues Profile Picture
    9,482 Most Valuable Professional on at
  • Jackw Profile Picture
    15 on at

    Thank you for this article, but I need to display HTML formatted text for viewing. I do not need to save anything.  

  • oliver.rodrigues Profile Picture
    9,482 Most Valuable Professional on at

    Hi @Jackw you can achieve this via JS or Liquid then.

    If you are rendering your page via Liquid, or if your HTML field is in the Contact entity, you can use something like this in your Web Page/Web Template (in my example I am in the Profile page):

    OliverRodrigues_0-1604508697238.png

     

    OliverRodrigues_1-1604508722327.png

    if your HTML attribute is not in the Contact entity, you can still retrieve via Liquid if you want, or you can also use JS/jQuery:

    var myHtmlvalue = $("#adx_publicprofilecopy").val();
    $("#adx_publicprofilecopy_label").append(myHtmlvalue);

    OliverRodrigues_2-1604508804015.png

     

     

  • Jackw Profile Picture
    15 on at

    My HTML text is coming from a field on CDS entity form. The external user has a list of items. They click on the item they want, and that brings up the CDS entity form. This form has more details on it. One of the Fields with more details is formatted in HTML.  

  • oliver.rodrigues Profile Picture
    9,482 Most Valuable Professional on at

    Hi @Jackw 

    have you tried the JS code I shared in my previous answer? that should do the trick for you

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Pages

#1
M Bilal Khan Profile Picture

M Bilal Khan 114

#2
sannavajjala87 Profile Picture

sannavajjala87 30 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 24

Last 30 days Overall leaderboard