Hi,
var alertStrings = { cancelButtonLabel: "Close", text: "Fill all the Partner details on Escalation Information Tab & then resolve this case", title: "Alert : Required Escalation Information"};
var alertOptions = { height: 90, width: 210 };
Xrm.Navigation.openConfirmDialog(alertStrings, alertOptions).then(
function (success) {
console.log("Alert dialog closed");
formContext.ui.close();
},
function (error) {
executionContext.getEventArgs().preventDefault();
console.log(error.message);
}
);
when i click OK or Cancel button. It's going to form which showing behind the message. But, I want to close the form. It's not happening. Please help me to achieve this.