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)

Are you sure you want to leave this page?

(0) ShareShare
ReportReport
Posted on by

Hi all

I would need to remove this message beign shown when you leave a form with pending changes on CRM. We are using USD and users are not happy with this message appearing every time a tab is closed.

CRM 2016, USD latest version

Thanks in advance

*This post is locked for comments

I have the same question (0)
  • Nithya Gopinath Profile Picture
    17,078 on at
  • M.Azwar Alam Profile Picture
    on at

    Hi,

    Is there any Business Rule or JS ? which is setting some value in fields on CRM Form. Because this message appears when field value changes on CRM Form and Form is not save and when you navigating without saving the form then this message appears

    Mark answer as verified, if it works for you

  • Rajkumar Rajaraman Profile Picture
    on at

    Hi Gabriel,

    Refer this:

    dynamicscrmpros.com/microsoft-dynamics-crm-2013-issue-assistance-sure-want-leave-page-pop-save;utm_medium=rss&utm_campaign=microsoft-dynamics-crm-2013-issue-assistance-sure-want-leave-page-pop-save

    Hope this helps

  • Community Member Profile Picture
    on at

    Thanks for sharing the reference, Nithya. We appreciate it.

  • Community Member Profile Picture
    on at

    Thanks for all answers. This is not a product issue but the standard behaviour of the product. I just want to override this behaviour, because working with USD, the message raising is annoying. The user have just closed the tab, so they don't need this message to be shown.

    I just want to remove it ALWAYS when working with USD. Maybe injecting some kind of javascrit lines

    Regards

  • Nithya Gopinath Profile Picture
    17,078 on at

    Hi,

    Try using the lines of code below.

    crmForm.detachCloseAlert();  
    window.close();

    See: https://chitrarasan.wordpress.com/2009/07/17/disable-alert-when-closing-the-crm-form/

    Hope this helps.

  • Suggested answer
    Nithya Gopinath Profile Picture
    17,078 on at

    You could also try using the Alert.Hide() function.

    See: alertjs.codeplex.com/documentation

  • Community Member Profile Picture
    on at

    Not working with USD + CRM 2016

  • Suggested answer
    Muhammad Awais Profile Picture
    47 on at

    Dis you find any solution for this. I'm struggling with same problem. Please suggest. Thanks in advance.

    Regards,

    Muhammad Awais Arshad

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