there is a plugin on retrieve and retrieve multiple of account and contact entity
so when i open a record i need to display the custom error message on crm UI .
its a synchronous execution mode and pre- validation execution pipeline stage
i tried using the try catch and in catch
catch (InvalidPluginExecutionException e)
{
localcontext.Trace(string.Format(CultureInfo.InvariantCulture, "Exception: {0}", e.ToString()));
throw new InvalidPluginExecutionException(e.Message);
}
so unable to display the message on UI
currently i am getting business process error
*This post is locked for comments