How to add Duplicate Check Live to Custom Object page layout in Salesforce Classic

Duplicate Check Live feature is available in our Advanced and Premium edition.
Duplicate Check Live is a feature that can be added to any record page layout in your Salesforce organization and do a real-time search for duplicates when opening up a record. Instantly see if there are duplicate records for the record you are currently working in. In this How-To we are adding the 'Duplicate Check Live' feature to a Custom Object page layout. 

Step 1 Duplicate Check Live for standard objects

1.1  The first step is to locate the API name of the custom Object you wish to use. Find the list of API's here. For this example, we will use 'Opportunity'.
1.2   Next is to create a visual force page for the Duplicate Check Live feature. Navigate to Salesforce Setup, then under 'Build' click the arrow next to 'Develop' and choose 'Visualforce Pages'. Example image:

 1.3 Click the 'New' button:  

 1.4  At 'Label' enter "DC Live", at 'Description' enter 'Duplicate Check Live feature'
 1.5 Check the checkbox 'Available for Lightning Experience, Lightning Communities, and the mobile app'.
 1.6  At 'Visualforce Markup' field, enter the following code. Make sure you replace *API_NAME* with the API name you find at step 1.

    <apex:page standardController="*API_NAME*" docType="html-5.0" sidebar="false" showHeader="false">
<script>
    if ((typeof sforce != 'undefined') && (sforce.one != null)) {
        sforce.one.navigateToURL('{!URLFOR($Page.dupcheck__dc3Layout,null,['id' = Id])}');
    } else {
        window.location.href = '{!URLFOR($Page.dupcheck__dc3Layout,null,['id' = Id])}';
    }
</script>
</apex:page>
  This is how the Visualforce page configuration should looks like with Opportunity as an example:
 1.7 Click 'Save'

Step 2 Add Duplicate Check Live to a standard custom object

2.1 Navigate to Salesforce Setup, Under 'Build' choose 'Customize' 
2.2 Click on your 'standard object' and then choose 'Page Layouts'. In this example we choose 'Opportunity'
2.3 Click edit in front of 'Your standard object layout'. In this example 'Opportunity layout'. Example image:
2.4  In the menu, scroll down to the 'Visualforce Pages'. Drag and drop a 'section' at the top of the Page layout.

2.5  Use the settings specified in the example image below:
2.6  From the 'Visualforce Pages' drag and drop 'DC Live' component to the section that we just added.Example image:
Click here to watch a short video of how to add DC live to your page layout in Salesforce Classic.
 2.7  Move your mouse over the 'DC Live' visual force page. At the end of the visual force page, click on the button to edit it's properties. Example image:
 2.8  Use the properties specified in the example image: 
 2.9  Now make sure to 'Save' everything done till now. Image Example:

Step 3 Apply DC Live feature to the scenario of your Standard Object

3.1 Navigate to the DC Setup page, then click on your 'Standard Object'.
3.2 Navigate to the Object scenario tab and make sure that you have applied a scenario to the DC Live. Check the example image below.
That's it! If you want to use DC Live in 'cross object' mode and make it find duplicates in different objects, make sure you activate cross object and apply a scenario to the DC Live feature in every Object you wish to use in the DC Live feature.
 

Having trouble?

Our support agents are ready to help you !