Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Suggested answer

D365 Portals Display Rich Text Editor

Posted on by 815

Hello just wondering if anyone has implemented a Rich Text  editor within the Dynamics 365 portals to allow portal  users to use its functionality. I tried using the adx_ckeditor/adx.ckeditor.html web resource but this appears to work well in the backed but does not render in the portal correctly. Any advice or other options would be great 

  • Nicholas Hayduk Profile Picture
    Nicholas Hayduk 2,863 on at
    RE: D365 Portals Display Rich Text Editor

    Here's the blog post: www.engineeredcode.com/.../power-apps-portals-rich-text-editor-on-entity-forms

  • Suggested answer
    Nicholas Hayduk Profile Picture
    Nicholas Hayduk 2,863 on at
    RE: D365 Portals Display Rich Text Editor

    Hi Wil,

    It is possible, the trick is with the validation that doesn't like characters like < or >.  To get around this, you can encode it before it is submitted to the server, and then use a plugin to decode it so it is saved properly in the database.

    I'm working on a blog post with more detailed steps - should be out in the next week or so.

    Nick

  • wil.etherington Profile Picture
    wil.etherington 25 on at
    RE: D365 Portals Display Rich Text Editor

    Hi Nick,

    Have you ever implemented a solution where there is a rich text editor for a multiline text field on a custom entity and then display the text as rich text on Dynamics portals?

    Thank you,

    Wil

  • Suggested answer
    Nicholas Hayduk Profile Picture
    Nicholas Hayduk 2,863 on at
    RE: D365 Portals Display Rich Text Editor

    The resources required for the CKEditor are available on the Portal as well - they are used for features like forums and blogs.  You can simply use the CKEDITOR.replace() functionality.

    However, if you're hoping to use it on Entity Forms or Web Forms, you might run into issues with the built-in Request Validation, as those fields are not expecting to see characters like < and >.

    Hope that helps.

    Nick

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans