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 from Entity field
Power Pages
Answered

HTML from Entity field

(0) ShareShare
ReportReport
Posted on by 30

Hello-

 

I know with Liquid you can access the data in a field of a retrieved entity to display in a web page, but what if the data in question is HTML/CSS/JS? Will Portal dump the raw code to the page or will it escape the special characters and show the literal text rather than functional HTML?

 

Thanks,

Categories:
I have the same question (0)
  • Verified answer
    oliver.rodrigues Profile Picture
    9,425 Most Valuable Professional on at

    Hi

     

    are you rendering your field with HTML via Liquid? if yes, the default behavior is rendering as HTML itself

    so you can have the data in your CDS using HTML and simply display on the portal using the syntax {{ yourobjectname }}

    if you want to display raw HTML, you can use the filter | escape: {{ yourobjectname | escape }}

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Pages

#1
Hammed Profile Picture

Hammed 22

#2
Lucas001 Profile Picture

Lucas001 21 Super User 2026 Season 1

#3
DP_Prabh Profile Picture

DP_Prabh 19

Last 30 days Overall leaderboard