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 :
Customer experience | Sales, Customer Insights,...
Answered

Case record duplicate detection

(0) ShareShare
ReportReport
Posted on by

How to prevent to creating duplicate records in case entity. 

I have the same question (0)
  • Verified answer
    Pradeep Rai Profile Picture
    5,489 Moderator on at

    Hi,

    Please create alternate Key on required field.
    https://neilparkhurst.com/2017/05/25/mb2-716-microsoft-dynamics-365-customization-and-configuration-alternate-keys/

    if you have custom logic to define the duplicate records then you Write Plugin on create of case entity to validate the case records as described below:
    https://carldesouza.com/dynamics-365-raise-error-plugin/

    You can also, you Duplicate detection rules to prompt user before saving records.

    https://www.marksgroup.net/blog/dynamics-365-duplicate-detection-rules/

  • Verified answer
    Amit Katariya007 Profile Picture
    10,409 Super User 2025 Season 2 on at

    Add a JS or a plugin which will show error to the users before saving the record. You can customize the logic using the code. And the best part is that you can force user to avoid duplication which will be more efficient.

    Thank You,

    Amit Katariya

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 > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 171 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 83

#3
Jimmy Passeti Profile Picture

Jimmy Passeti 50 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans