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
Here's the blog post: www.engineeredcode.com/.../power-apps-portals-rich-text-editor-on-entity-forms
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
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
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
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156