DuplicateRule

Represents a duplicate rule for detecting duplicate records.

Supported Calls

describeSObjects()query()retrieve()search()

Fields

Field Name Details
DeveloperName
Type
string
Properties
Filter, Group, Sort
Description
The developer name for the duplicate rule.
IsActive
Type
boolean
Properties
Defaulted on create, Filter, Group, Sort
Description
Indicates whether a duplicate rule is active (true) or not (false). This field is read only.
Language
Type
picklist
Properties
Filter, Group, Restricted picklist, Sort
Description
The language for the duplicate rule.
MasterLabel
Type
string
Properties
Filter, Group, Sort
Description
The label for the duplicate rule.
NamespacePrefix
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The namespace prefix associated with this object. Each Developer Edition organization that creates a managed package has a unique namespace prefix. Limit: 15 characters. You can refer to a component in a managed package by using the namespacePrefix__componentName notation.

The namespace prefix can have one of the following values:

  • In Developer Edition organizations, the namespace prefix is set to the namespace prefix of the organization for all objects that support it. There is an exception if an object is in an installed managed package. In that case, the object has the namespace prefix of the installed managed package. This field’s value is the namespace prefix of the Developer Edition organization of the package developer.
  • In organizations that are not Developer Edition organizations, NamespacePrefix is only set for objects that are part of an installed managed package. There is no namespace prefix for all other objects.
SobjectType
Type
picklist
Properties
Filter, Group, Restricted picklist, Sort
Description
The type of object the duplicate rule is defined for. For example, account, contact, or lead.

Usage

DuplicateRule is available to organizations that use duplicate rules.

You can only view details of a duplicate rule using the API. You must use the full Salesforce site to create, edit, and delete duplicate rules.