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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

Entity Key Error Message Change

(0) ShareShare
ReportReport
Posted on by 10

Hello,

Is there anywhere that I can change the error message that is thrown if duplicated key found. For example I added Email Address field to contact entity as key and the error message at the below thrown. But I need to change that error message to simpler thing. I check entity messages and translations but could not find the error message in those places either. 

pastedimage1637327022181v1.png

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at

    Hi Hasret Sengul Taskin,

    Unfortunately, there is no OOB way to change the content of this dialog.

    As a workaround, you could create a onsave event on your form to check the email is duplicate or not.

    If it is duplicate, you could use openErrorDialog() method to customize error message.

    Reference:

    docs.microsoft.com/.../openerrordialog

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Martin Dráb Profile Picture

Martin Dráb 47 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 38 Super User 2025 Season 2

#3
Pallavi Phade Profile Picture

Pallavi Phade 32

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans