01Chapter 1: How Duplicate Management worksThis chapter assumes you know the basic Salesforce data model (objects, fields and records). You should also be able to find your way around Setup as an administrator and know what Accounts, Contacts and Leads are. No Apex is needed here. Later developer chapters cover it.2 min read
02Chapter 2: Matching rules: deciding what counts as a duplicateThis chapter assumes you know the Salesforce data model (objects, fields, records) and can navigate Setup as an administrator. You should also know the difference between Accounts, Contacts and Leads.2 min read
03Chapter 3: Standard matching rules and when they are enoughThis chapter assumes you know how matching rules and duplicate rules fit together, and that you can find Duplicate Management in Setup. Here you decide whether Salesforce's built-in matching rules are enough or whether you need to build your own.2 min read
04Chapter 4: Exact versus fuzzy matchingThis chapter assumes you know what a matching rule is and can open one in Setup. It covers the two comparison methods you choose for each field in a matching equation.2 min read
05Chapter 5: Building a custom matching ruleThis chapter assumes you know how matching rules and duplicate rules work together. It also assumes you know the difference between exact and fuzzy matching, and that you can open Setup as an administrator.2 min read
06Chapter 6: Matching equations, field conditions and blank fieldsThis chapter assumes you know how to open Setup, that you understand the difference between exact and fuzzy matching, and that you have started building a custom matching rule. Here you will learn how the matching equation combines field conditions. You will also learn what happens when a field is e2 min read
07Chapter 7: Duplicate rules: connecting matching rules to user actionsThis chapter assumes you know how to navigate Setup and understand the difference between objects, fields, and records. It also assumes you have read the previous chapters on matching rules. A matching rule decides whether two records look alike. A duplicate rule decides what happens when they do.2 min read
08Chapter 8: Choosing actions: allow, block, alert and reportThis chapter assumes you know what matching rules and duplicate rules are, and that you can open Duplicate Rules in Setup. Here you will choose what happens when a matching rule finds a duplicate.2 min read
09Chapter 9: Sharing rules and conditions that limit a duplicate ruleThis chapter assumes you can create a matching rule and a duplicate rule in Setup, and that you know how record visibility works through the org-wide default, roles and sharing rules. Two settings on a duplicate rule control which saves it checks and which existing records it compares against.2 min read
10Chapter 10: Matching across objects, such as Leads against ContactsThis chapter assumes you know how a duplicate rule calls a matching rule, and the difference between exact and fuzzy matching. It also assumes you have seen the Duplicate Rules page in Setup.2 min read
11Chapter 11: Activating, editing and ordering rulesThis chapter assumes you can create a matching rule and a duplicate rule in Setup, and that you know what each one does. It covers how the two kinds of rule change state, why edits need care, and how several rules on one object interact.2 min read
12Chapter 12: Reviewing duplicate record sets and reportsThis chapter assumes you can build a duplicate rule and choose its actions, as covered in the earlier chapters. For the Apex and SOQL parts, you also need basic Apex.2 min read
13Chapter 13: Merging the duplicates you findThis chapter assumes you know how duplicate rules write duplicate record sets, which the previous chapter covered. It also assumes you can read basic Apex.2 min read
14Chapter 14: Finding duplicates in Apex with Datacloud.FindDuplicatesThis chapter assumes you know how matching rules and duplicate rules work, and that you can read basic Apex and SOQL. You will learn how to ask Salesforce whether an unsaved record has duplicates, and how to read the answer.2 min read
15Chapter 15: Handling duplicate errors and bypassing rules in DMLThis chapter assumes you know basic Apex, how Database.insert returns a SaveResult, and how a duplicate rule's action (Allow, Block, alert, report) is configured. Here you will see what happens to DML when a duplicate rule fires, and how code can react.2 min read
16Chapter 16: Testing and troubleshooting rulesThis chapter assumes you have built at least one matching rule and one duplicate rule, and that you can run anonymous Apex from the Developer Console. The goal is to find out why a record was flagged as a duplicate, or why it was not.2 min read
17Chapter 17: Design best practices for duplicate preventionThis chapter assumes you know how matching rules and duplicate rules work together, and that you have seen the actions (allow, block, alert, report), duplicate record sets, merging, and the Apex duplicate APIs from earlier chapters. Here you combine them into a design you can defend.2 min read