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 :
Finance | Project Operations, Human Resources, ...
Unanswered

put a confirmation dialog before call to clicked() on a out of box form control button

(0) ShareShare
ReportReport
Posted on by 4
I was trying to put a Yes/No dialog before executing the code behind clicked() method on a out of box form button control. I tried doing it through CoC but looks like its impossible to bypass call to next clicked() in case user chooses No on confirmation dialog. Any ideas how to do it ? 
Categories:
I have the same question (0)
  • Martin Dráb Profile Picture
    236,570 Most Valuable Professional on at
    put a confirmation dialog before call to clicked() on a out of box form control button
    You can't skip the call of next clicked(), but you can throw an exception.
     
    It's also possible that your logic doesn't belong to clicked() at all. For example, maybe the button calls a class that has a validation method for this purpose.
     
    Moved from Integration, Dataverse, and general topics forum to Finance | Project Operations, Human Resources, AX, GP, SL forum.

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 1,922

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 1,922

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 835 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans