Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM forum
Answered

Case record duplicate detection

Posted on by 524

How to prevent to creating duplicate records in case entity. 

  • Verified answer
    Amit Katariya007 Profile Picture
    Amit Katariya007 6,004 Moderator on at
    RE: Case record duplicate detection

    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

  • Verified answer
    Pradeep Rai Profile Picture
    Pradeep Rai 5,490 Super User 2024 Season 2 on at
    RE: Case record duplicate detection

    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/

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,554 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,588 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans