Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Hello i have this visualforce page:

<apex:page standardController="Opportunity" recordSetVar="opportunities" cache="true"  >
    <apex:pageBlock title="Selected Opportunities" id="muselectedlist">
        <apex:pageBlockTable value="{!selected}" var="opp" id="mutab">
            <apex:column value="{!}" id="oppname"/>
            <apex:column value="{!opp.stagename}" id="oppstage"/>

I use it in a custom button list view, i select 1 or more record and click the button, but none of the records are displayed in my page. Anyone know why?

share|improve this question
Can you also provide the configuration of the list button? – Mark Pond Jan 4 '13 at 16:30

I suspect this is happening because of the configuration of the custom list button. Your VF markup is perfect and works fine as tested with this configuration:

Button Configuration

Added the button to the Opportunity Search Layout:

Search Layout

Select the desired records and click the custom button to display your VF page:

VF Page

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.