+ Start a Discussion

How to pass id to the Visualforce page when I click custom List button??

Hi All,

I have two objects 

1,Agreement Line


I have created one Custom List button "Add InstalledProduct" when I click this button it is going to one visualforce page this page display all the InstalledProducts.user can select any no InstalledProducts and click add button on that visualforce page then these installedProducts are going add AgreementLine.


But here i need to pass Agreement line id to visualforce page through Custom List button then only I can add the selected installedproducts to that Agreement Line for this how can I pass Agreement Line id to that visualforce page by Custom List button .


Any help is Appreciated. 




Without posting examples from the actual code you unlikely to get a response that will help you solve the problem.