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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

CRM 2015 Leave This Page Dialog Box

(0) ShareShare
ReportReport
Posted on by

We are seeing the same issue as reported in:

https://community.dynamics.com/crm/f/117/t/159538

Unfortunately there was no answer posted at that time.

Sometimes when we save the record or move to the next stage, sometimes this browser popup window opens asking the user if he wants to leave this page or stay on the page.

If we choose leave this page then a new record(blank form) is opened.
If we choose stay on this page the "unsaved changes" message is visible in the bottom right of the browser and we can proceed no further.

Someone said that making a change to a field using the following script causes the issue:

Xrm.Page.getAttribute(fieldName).setValue(fieldValue);

However, I have not seen an explanation of why it wants to open a new record(blank form) or how to overcome this.

Can anyone help?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Deepesh161 Profile Picture
    6,317 on at

    This pop-up appears in most cases when either using some script or by some other means you are keeping some unchanged value on the form. So, i will start by looking for the scripts.

  • Community Member Profile Picture
    on at

    Thanks for your quick reply. We have looked at the script but cannot find why it is trying to navigate to a new (blank form) on save.

  • Suggested answer
    Community Member Profile Picture
    on at

    Hi Chris,

    There is one more reason when Leave This Page Dialog Box  comes is : If one user has opened an Entity form and form is in unsaved state. In same time some other user publishes All Customization then if Users A takes any action of opened form then it ask form leave page.

    Hope this Helps !! . I would appreciate if u can mark answer as verified. Thanks

    Regards,

    Kamran

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans