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

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Unsaved Changes

(0) ShareShare
ReportReport
Posted on by 87

Hi All,

I am creating cases using data import. When i go back to the record which is created using import, it is showing unsaved changes.

However, I have tried to deactivate all the scripts on form load to find if there is some issue with any of the javascripts. Also, I have deactivated business rules one by one but no luck. Not able to find the cause of issue.

Please help.

Thanks.

*This post is locked for comments

I have the same question (0)
  • Amrita P Profile Picture
    87 on at
    RE: Unsaved Changes

    I have disabled the scripts and populated the fields using Business Rules by changing some of the check conditions. Now the problem is resolved.

    Thanks to everyone for guidance and support.

  • Amrita P Profile Picture
    87 on at
    RE: Unsaved Changes

    Yes I have cleared the cache. But I need to enable those scripts to populate values.

  • Dynamics365 Rocker Profile Picture
    7,755 on at
    RE: Unsaved Changes

    Have you cleared your browser history after disabling script?

  • Amrita P Profile Picture
    87 on at
    RE: Unsaved Changes

    Hi Ravi,

    I have found the javascript which are updating the fields and also I have Business rule on those fields. But what changes I need to make to resolve it?

  • RaviKashyap Profile Picture
    55,410 Moderator on at
    RE: Unsaved Changes

    review the field you get in console, try to find javascript, business rule etc which involves those field.

  • Amrita P Profile Picture
    87 on at
    RE: Unsaved Changes

    Thanks Flydancer. I can see multiple fields now. But not sure how to resolve this issue.

    I do not understand why this is happening only with the records which are created using data import.

  • Flydancer Profile Picture
    1,332 on at
    RE: Unsaved Changes

    Open the form where the unsaved changes are, Press F12, search for "Console" and enter it there

  • Amrita P Profile Picture
    87 on at
    RE: Unsaved Changes

    Hi Flydancer,

    I am sorry but I am not aware how to use browser console. Could you please guide me?

    Thanks

  • Verified answer
    Flydancer Profile Picture
    1,332 on at
    RE: Unsaved Changes

    Hi Amrita,

    enter the following line in your browser console to see which fields are "dirty" and causing the unsaved changes status:

    frames[0].Xrm.Page.data.entity.getDataXml();

    It should help you to identify the reason.

  • Verified answer
    gdas Profile Picture
    50,091 Moderator on at
    RE: Unsaved Changes

    Are you getting same behavior for different entity as well ? If not then there should have some JS or BR  running in the form onload event.

    In addition clear browser cache , temp file  and relogin , also try with different browser .

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Aric Levin - MVP Profile Picture

Aric Levin - MVP 2 Moderator

#2
MA-04060624-0 Profile Picture

MA-04060624-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans