Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 46379

How can I stop the Business Process Error exception message.

$
0
0

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.


Viewing all articles
Browse latest Browse all 46379

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>