+ Start a Discussion

Get fields from page!

Hello eveyone!!


I have done a custom link in Lead;




DataLeads is a .Page where I want to show the name and the phone of the lead, but I don't know how can I get the Id of the Lead.


I mean, In the Lead Jonh, I do click in the link and a pop-up (has to) show his name and phone


Any idea?!?


Thanks in advance!!

Best Answer chosen by Admin (Salesforce Developers) 



The answer depends on where you're coming from, but I think you're starting ini the lead page. Your link should be,




Your dataleads page will also have to use a standardcontroller of type 'lead' .