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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Rich Text Fields on Form Getting Dirty sometimes.

(0) ShareShare
ReportReport
Posted on by
I've some rich text columns in a form in a model-driven app. Sometimes, they get dirty without editing them, and after some time, the form loads, making it unsaved.
 
These columns are not used in any javascript code, business rule, or anywhere except the form and some reports.
 
Only some JS code is registered on these columns on the change event which is used to populate a custom lookup that records the person that last updated the form.
 
Now, sometimes the form is getting dirty because of these fields and that lookup is getting populated incorrectly.
 
Any suggestions or fixes will be highly appreciated.
I have the same question (0)
  • Leah Ju Profile Picture
    Microsoft Employee on at
    Hi,
    You can enable Audit feature on this table, and these rich text fields.
    --To check who change it's value.
  • CU22100956-0 Profile Picture
    51 on at
    Hi,
     
    I have the same issue. Have you been able to find the cause of this?
     
    Thank you in advance!
  • juul-gregersen Profile Picture
    2 on at
    I have noticed the same issue. It seems that the html tags are being changed.
     
    As an example, we have a rich text field with this content:
    <div data-wrapper="true" dir="ltr" style="font-size:9pt;font-family:'Segoe UI','Helvetica Neue',sans-serif;"><div>Text visible to the user</div></div>
     
    Which got changed to this content:
    <div class="ck-content" data-wrapper="true" dir="ltr" style="--ck-image-style-spacing: 1.5em; --ck-inline-image-style-spacing: calc(var(--ck-image-style-spacing) / 2); --ck-color-selector-caption-background: hsl(0, 0%, 97%); --ck-color-selector-caption-text: hsl(0, 0%, 20%); font-family: 'Segoe UI','Helvetica Neue',sans-serif; font-size: 9pt;"><div>Text visible to the user</div></div>
  • CH-29081340-0 Profile Picture
    on at
    So do you found a solution to this, we have a similar Problem with the task table. If the user marks the entity as completed the form still shows unsaved. and if the user wants to go back they get a popup to save the changes, which doesnt work because the entity is already marked as closed
  • Suggested answer
    EU_AU Profile Picture
    2 on at
    We are also experiencing the same issue. Looking at the audit details, the system is adding some extra properties to the P tag when the form or control is refreshed which caused the unsaved event.
    Field Name Old Value New Value
    Description <div class="ck-content" data-wrapper="true" dir="ltr" style="--ck-image-style-spacing: 1.5em; --ck-inline-image-style-spacing: calc(var(--ck-image-style-spacing) / 2); --ck-color-selector-caption-background: hsl(0, 0%, 97%); --ck-color-selector-caption-text: hsl(0, 0%, 20%); font-family: Segoe UI; font-size: 11pt;"><p style="margin: 0;">TEST</p></div> <div class="ck-content" data-wrapper="true" dir="ltr" style="--ck-image-style-spacing: 1.5em; --ck-inline-image-style-spacing: calc(var(--ck-image-style-spacing) / 2); --ck-color-selector-caption-background: hsl(0, 0%, 97%); --ck-color-selector-caption-text: hsl(0, 0%, 20%); font-family: Segoe UI; font-size: 11pt;"><p style="margin: 0; text-align: start;" dir="ltr">TEST</p></div>
     
    What we have found, as a workaround is to add the OOB  config /WebResources/Activities/SystemLibraries/msdyn_AppointmentRTEconfig.js to the Rich Text Editor Control. Doing this seem to have helped in most instances.
     
    Hope this helps.

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 Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 184 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 125

#3
CU11031447-0 Profile Picture

CU11031447-0 100

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans