Enabling Duplicate Detection
[Applies to: Microsoft Dynamics CRM 4.0]
Find the latest SDK documentation: CRM 2015 SDK
Before you can run duplicate detection, you have to enable it as follows:
- Globally (for all entities in the organization).
- For an entity.
- For specific operations.
Note Duplicate detection has to be enabled in all three areas to enable duplicate detection for an entity and for operations on an entity.
Enable duplicate detection globally
Enable duplicate detection for an entity
Enable duplicate detection for specific operations
Set the following properties to true to enable duplicate detection during the specified operations.
Note You do not have to publish the duplicate detection rules to enable these operations. However, you must publish the duplicate detection rules before you perform the operations.
- organization.isduplicatedetectionenabledforonlinecreateupdate – Creating and updating entity instances in Microsoft Dynamics CRM by using the Web application or the Microsoft Dynamics CRM for Microsoft Office Outlook. This property is used to enable or disable duplicate detection for entity instances created or updated with the Create and Update messages. However, it does not affect entity instances created or updated with the Create and Update methods.
- organization.isduplicatedetectionenabledforofflinesync– Offline synchronization, when Microsoft Dynamics CRM for Microsoft Office Outlook goes from offline to online.
- organization.isduplicatedetectionenabledforimport – Bulk data import.
© 2010 Microsoft Corporation. All rights reserved.