Duplicate Detection Settings

Duplicate Detection must be enabled for your organization

Settings -> Data Management -> Duplicate Detection Settings

You must also have duplicate detection rules created and published for the entities you wish to check for potential duplicates

Installation

Via Managed or Unmanaged Solution

Configuration

Requires form libraries:

    lat_/CRM2013DuplicateDetection/scripts/SDK.Metadata.Query.min.js

    lat_/CRM2013DuplicateDetection/scripts/Xrm.DupDetect.js

 

Event Handler:

  Form - OnLoad

    Xrm.DupDetect.config [lat_/CRM2013DuplicateDetection/scripts/Xrm.DupDetect.js]

  Disable - Pass execution context as first parameter

  Comma separated list of parameters...

    [ {"preventsaveduplicate": false} ]

Setting "preventsaveduplicate" to true will prevent records from being saved if a potential duplicate is returned

 

 

 

Last edited Mar 24, 2014 at 5:58 PM by JLattimer, version 7