You need to sign in to do that
Don't have an account?

Passing custom request parameters
Hello Force developers.
After wrestling with ability to create custom related link section under Leads, I've decided to try out different approach.
We have a need to not only merge duplicate leads coming into SF through web-to-lead functionality but also merge documents downloaded by that user.
I've decided to take care of automatic search for duplicate leads by using Triggers. Before insert, i'll search for existing leads and if it exists, it will mark the incoming leads status as "Closed - Duplicate".
Once duplicated, it'll find the document id downloaded by the user and insert new row into the LeadDownloads object with document title and leads email.
My solution to display these list of documents on Leads detail window is to create a custom link which will query LeadDownloads object by passing in email address from Leads. I have not been successful in finding or understanding way to capture custom request parameters coming from the leads detail page on VisualForce page i am making.
Any assistance with this would be greatly appriciated.
thank you.