function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Satish RamananSatish Ramanan 

Finding duplicates on the basis of First Name and Last Name

Hi, I want to get the list of all the duplicates in the SF on the basis of First Name and Last Name. I don't have that much time to go into the detail page of each and every record and find duplicates by clicking "Find Duplicates" button. Is this possible by any other way to just click a button and get all the list in one shot?



Cloud CredenceCloud Credence



Since your criteria for finding duplicates is relatively simple, you can write an apex class that generates and displays this information in a VF page, subject to governor limits.


Or you should consider using AppExchange solutions specializing in de-duplication.






Hi Satish,


Create a report with a 3 field filters on contact object. The field filter should take the parameter values as record id, first name and last name. The record id should not match with the current record id. 


The record id parameter should take the condition as 'not equal to'.


Invoke this report using the custom button/link on the contact detail will give you the other records with duplicate names.


Create a custom button with below code then