I am trying to call a Visualforce page from a custom list button. I have done this successfully from a detail page button by creating a page using a standard controller for the detail object, selecting Visualforce page as the content source and then picking the page I wanted from the pull down list for content.
However, I can't seem to get this to work for a list button. I pick the list button option on the custom button or link page, and pick visualforce page for the content source, but I don't get my visualforce page to appear in the content pull down list.
Best Answer
You need to use
recordSetVar
on your page to make it available for custom List view button.Adding Custom List Buttons using Standard List Controllers