Avatar of apollo7
apollo7
Flag for United States of America

asked on 

Replace Dynamics CRM default error message with custom message

We are working with Dynamics 365 CRM (on-premise) and using a custom front-end developed with ADX.  

My issue is that ADX allows a CRM quote or order to be shared with the same user more than once.  When this is done, we receive an error message: "Cannot insert duplicate key."  (It is my understanding that this is the default Dynamics error).

What I want to do is replace this with a more user-friendly message like: "This order has been already shared with that sales person".

I am looking for the best approach to transform the default error message to the user-friendly message.

Thank you
.NET ProgrammingMicrosoft DynamicsC#JavaScriptMicrosoft Applications

Avatar of undefined
Last Comment
Chinmay Patel

8/22/2022 - Mon