cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
CSEJoe
New Member

How to show result from rich text editor field

I have a Rich Text editor field in by Job Opening table for the description.

CSEJoe_0-1617826045199.png

But it is showing the description field as plain text and you can see the html tags.

CSEJoe_1-1617826090124.png

 

 

1 REPLY 1
Fubar
Solution Sage
Solution Sage

Unfortunately its not well implemented with the Portal.  One other thing you need to consider is if it is just readonly or do you need someone to edit it on the Portal? (the reason why this is important is that you cannot save HTML tags back to dataverse from the portal, unless you set a global setting that turns off some of the field validation - and if you do this you then need to create your own plugin code to perform such validation)

 

If it is just readonly:

Someone will probably suggest parsing it with JavaScript/jQuery when the page loads.  Hide the field with CSS in meatadata, parse the field onready and then unhide it.

 

The portal has 'filters' that are applied that tell it how to render the various elements, using the standard Entity Form etc you do not have access to these filters, but you can apply them in a custom web template.  If the page is just readonly - then building a custom web template, with fetchxml and placing fields may be an answer.  If it needs to be editable, you can now use the Web Api to update etc (still a custom web template, fetchxml etc but you can add your own submit button etc).

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (3,162)