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)

Getting error "Your changes have not been saved. To stay on the page so that you can save your changes, click Cancel." on Save & Close button

(0) ShareShare
ReportReport
Posted on by

Hi,

We have upgraded the MS CRM Organization from 2011 to 365 On-Premise and disable using auto Save, when user click's on the Save & Close button for any entity after editing fields it always show the message "Your changes have not been saved. To stay on the page so that you can save your changes, click Cancel." It doesn't matter if user click on OK or Cancel it always saves the edited data. This prompt is really annoying for the users.

We even tried to disable all scripts written on OnSave of the form but still it shows same prompt always.

Please advise if there is any solution for this issue.

Thank you,

Bhausaheb Patil.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Temmy Wahyu Raharjo Profile Picture
    2,914 on at
    RE: Getting error "Your changes have not been saved. To stay on the page so that you can save your changes, click Cancel." on Save & Close button

    Hi,

    CRM 365 behavior is very different with CRM 2011. When you save data and the plugin trigger. CRM will send all the changes into form and trigger on change event. That's why when you have method that have changes to another attribute. This attribute will be trigger and make your from 'unsaved changes'.

    You need to learn the behavior first for to know how to solve it. My suggestion is you can put console.log in every method to know its behavior. If you want to quick fix. Turn on legacy form first. But still you need to figure out how to solve this issue because CRM will remove legacy form also in the future.

  • Suggested answer
    LeoAlt Profile Picture
    16,331 Moderator on at
    RE: Getting error "Your changes have not been saved. To stay on the page so that you can save your changes, click Cancel." on Save & Close button

    Hi partner,

    If it is a pure environment, this problem will not occur. I also met this issue with wrong JS code.

    Please clear your cookies and try again. You could use F12 development tools to check if all the scripts are disabled while there may be a delay.

    If you still have this issue, I recommend you to raise a ticket to Microsoft Team for remote assistance.

    Hope it helps.

    Best Regards

    Leo

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
HR-09070029-0 Profile Picture

HR-09070029-0 2

#2
ED-30091530-0 Profile Picture

ED-30091530-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans