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 AX (Archived)

How to Display "Do u want to Save" Message in Close Button

(0) ShareShare
ReportReport
Posted on by 507

pic123.PNGHi All,

I need the same message as shown while pressing Esc Button with Close Button. I don't want to save the changes directly while pressing Close button , instead each and every change I make in all forms should ask " Confirm the changes Done - Yes/No " 

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Vilmos Kintera Profile Picture
    46,149 on at

    Escape cancels the process but offers saving the records, while Close button always saves the changes and finishes the process, so no additional action is required. If you cancel out, that interrupts the process which is going on, and is NOT ADVISED to do so. However if you still insist in this behavior for some of your custom forms, pressing the Escape key is equivalent to calling the closeCancel() method of the form, which you could call from the close() method.

  • Safeer PS Profile Picture
    507 on at

    If a normal user accidentally change any values and then if he press close Its I IS A BIG Problem ??

    Also In my forms close button save the changes and close without any " confirmation message "  while

    Esc button closes the forms and also ask for confirmation to save or not.

    So I want in  save button, a  Conformation Message should be shown as in Esc button

  • Suggested answer
    Vilmos Kintera Profile Picture
    46,149 on at

    You could enable confirmation for any update for individual users. Go to System administration > Users > Select the user you want to enable it for > Options button on the top > Confirmation tab > Enable Confirm Update for all table types.

    Please note that this is a general setting and users might get annoyed of it, however you would get the behavior you expect. Please try it with one user first. If this is the behavior you want, you could do it for all of them. Do not forget to mark the post as verified.

  • Safeer PS Profile Picture
    507 on at

    Please see abobe attached pic for 5531.pic123.PNGsettings Tab. What Should I do do achieve my requirement.

  • Safeer PS Profile Picture
    507 on at

    what is Confrm update and Confirm Delete ??

  • Safeer PS Profile Picture
    507 on at

    I amot getting any confirmation Pop Up even after changing Confirm Update to All

  • Safeer PS Profile Picture
    507 on at

    Now I am getting Pop ups for some forms , But Still It is showing Coonfirmation Messages even if the data is not touched at all. ie I need to show pup up only if data is updated.

  • Suggested answer
    Vilmos Kintera Profile Picture
    46,149 on at

    It only shows confirmation if data is updated. Many forms have the setting "InsertIfEmpty", which does create an empty record, for which you do need confirmation. There is no other way than what I have explained. Either the setting which I gave you, or a lot of customizations per form.

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 AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans