How to Show Confirm Dialog Box using JavaScript? How to display a progre...
Code: function PromptDialog(executionContext) { var confirmStrings = { text: "Do you want to proceed?", title: "Confirmation", confirmButtonLabel: "Yes", cancelButtonLabel: "No" }; var confirmOptions = { height: 200, width: 400 }; Xrm.Navigation.openConfirmDialog(confirmStrings, confirmOptions).then( function (success) { if (success.confirmed == true) { CallMethod(executionContext); // Pass executionContext if needed } else { // User clicked No } } );...
Comments
Post a Comment