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 ?
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.
Was this reply helpful?YesNo
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.