web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Dynamics 365 general forum

Edit Error Message Alternate Key

(0) ShareShare
ReportReport
Posted on by 50

Hi Community,

Does anyone know if it is possible to change the error message which is shown when trying to create a duplicate record based on logic set by custom alternate keys?
Currently it says: 

Duplicate Record
A record that has the attribute values Email already exists. The entity key EmailAddress1Key requires that this set of attributes contains unique values. Select unique values and try again. If you contact support, please provide the technical details.

Error-message-duplicate-contact.PNG

Thanks,

Debbie

I have the same question (0)
  • Johnny Gong Profile Picture
    6,482 Moderator on at
    RE: Edit Error Message Alternate Key

    Hi Debbie,

    Thanks for your feedback. You could modify most common exception info from translations if you have similar issue.

    We would be much appreciate if you could help archive the thread or there's any other question we could help investigate.

    Have a nice day.

    Regards

    Johnny

     

  • Debbie Rhebok Profile Picture
    50 on at
    RE: Edit Error Message Alternate Key

    Hi Johnny,

    I exported the translations, but the one that i want to change is not in the export file.

    Guess users will have to live with what we have. It is not a big problem. Was more a nice to have.

    Thanks much though for thinking along.

    Best,

    Debbie

  • Johnny Gong Profile Picture
    6,482 Moderator on at
    RE: Edit Error Message Alternate Key

    Hi Debbie,

    I have searched a long time and aslo tried Deepesh161's suggestion in the following post:

    https://community.dynamics.com/crm/f/microsoft-dynamics-crm-forum/151355/customize-login-error-messages

    While it costs a long time to import translations and I still could not directly edit the error message 'A record that has the attribute values Email already exists. The entity ke....' occurred from alternative key duplicate detection except the title and exception dialog format.

    pastedimage1566379169402v1.png

    There're also no XrmToolBox Plugin which could customize the exception dialog. 

    Hope the above would help.

    Regards

    Johnny

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Dynamics 365 general

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans