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
matty80matty80 

Find Duplicates on Leads - Problem Adding Email Domain to Search

It's valuable for our users that convert leads to have the email domain search enabled by default when clicking the Find Duplicates button, so I've created a custom button to replace Find Duplicates with that functionality - it goes to the following URL:

 

/lead/leadmergewizard.jsp?retURL=%2F{!Lead.Id}&id={!Lead.Id}&p5=1

 

When the button runs, the email domain checkbox (p5) is indeed clicked, but it doesn't actually search WITH the email domain results included. The user needs to click search once at the page to see those additional results included. In other words, while the checkbox appears checked, it doesn't include the email domain in that intial search that runs when the Find Duplicates is clicked on a Lead record.

 

I hope that's clear - if anyone has any insight into how I can get that initial search to run with the domain results included, it would be very helpful. Or if there was perhaps a way to trigger the URL to run that search again, after the p5 checkbox is selected... That's just one idea.

 

Thank you for you time,

 Matt.