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

InvalidPluginExecutionException - Need to show the custom message

$
0
0

I need to show the error message while save the  record from UI through plugin. I registered the Plugin in Pre-Operation.

I used throw new InvalidPluginExecutionException("custom message here"). But its showing the Error details along with the custom message.

Now I need to show only Custom message and don't want to show the error details in the alert. How can I achieve this?

TIA


Viewing all articles
Browse latest Browse all 79901

Trending Articles



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