troubleshooting Question

Replace Dynamics CRM default error message with custom message

Avatar of apollo7
apollo7Flag for United States of America asked on
.NET ProgrammingMicrosoft DynamicsC#JavaScriptMicrosoft Applications
3 Comments1 Solution253 ViewsLast Modified:
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
Chinmay Patel
Chief Technology Ninja
Join our community to see this answer!
Unlock 1 Answer and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros