You need to sign in to do that
Don't have an account?
kamal3883
Custom Reports
Hi,
I want to create a report on lead which shows all leads having same email id. Requirement is like this:
We need to create a link on Lead detail page which shows all leads having same email id as current Lead.
Can anybody suggest how can i acheive this.
Thanks
@kamal3883,
Instead of a link or a button, why not add a custom VisualForce page as an element on the Lead detail page layout. That way, the duplicate Leads are displayed right on the page layout, and you don't have to click a link and navigate to a different page.
The VF page would be something like this:
And the controller extension will look like this:
A caveat: I have not compiled or tested this code, so there might be typos or other errors. Please let me know if you find errors and I will correct them.
If this helps, please mark it as a solution, and give kudos (click on the star) if you think I deserve them. Thanks!
-Glyn Anderson
Certified Salesforce Developer | Certified Salesforce Administrator