+ Start a Discussion

Button for passing selected related list record IDs from Stanard Layout to a Visualforce page

Looks like I am almost there but can't connect the final steps...


I have added a Custom button on top of my related list in a standard page layout. Now I want to select some records from the related list and pass those record IDs to a visual force page when I click the button.


Was able to call an Apex class on click of the button (http://developer.force.com/cookbook/recipe/creating-a-button-with-apex) and process those selected records using the method described in the article.


But I want to send the user to a visalfore page where they can see more details from the selected records, before calling my script.


Thanks and appreciate your help in advance.