Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
function showAlertDialog() {
var alertStrings = {
confirmButtonLabel: "This is text shown on the confirmation button",
text: "This is text shown on the dialog"
var alertOptions = {
height: 200,
width: 400
Xrm.Navigation.openAlertDialog(alertStrings, alertOptions).then(
result => {
console.log("Success! The dialog was shown");
error => {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment