Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Unsaved Changes

Posted on by 85

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

  • Amrita P Profile Picture
    Amrita P 85 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
    Amrita P 85 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
    Dynamics365 Rocker 7,755 on at
    RE: Unsaved Changes

    Have you cleared your browser history after disabling script?

  • Amrita P Profile Picture
    Amrita P 85 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
    RaviKashyap 55,410 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
    Amrita P 85 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
    Flydancer 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
    Amrita P 85 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
    Flydancer 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
    gdas 50,085 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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Community AMA December 12th

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

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,030 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans