Hi,
I am new in Microsoft Dynamics CRM.
I am throwing exception from plugin like,
throw new InvalidPluginExecutionException(serviceExp.Message.ToString());
and receive the exception in javascript like,
function documentsend(){
Xrm.Page.data.save().then(successCallback, errorCallback);
}
function successCallback() {
alert("Submitted");
}
function errorCallback(response) {
Xrm.Page.ui.setFormNotification(response , 'ERROR');
}
Now, I am able to set the message on notification but after setting the message , Business Process Error message also comes on screen.
How can I stop the Business Process Error exception message.
*This post is locked for comments