You need to sign in to do that
Don't have an account?

Visualforce code is saved without error, But I'm unable to view the contents in the preview.
Hi,
I have tried to design vf page to fetch list of accounts . Unable to pull account information .
<apex:page standardController="Account" recordSetVar="Accounts">
<apex:pageBlock title="Account list">
<!-- Account list -->
<apex:pageblocktable value="{!Accounts}" var="At" >
<apex:column value="{!At.Name}"/>
<apex:column value="{!At.Phone}"/>
<apex:column value="{!At.Type}"/>
<apex:column value="{!At.Fax}"/>
</apex:pageblocktable>
</apex:pageblock>
</apex:page>
OUTPUT:

Thanks
I have tried to design vf page to fetch list of accounts . Unable to pull account information .
<apex:page standardController="Account" recordSetVar="Accounts">
<apex:pageBlock title="Account list">
<!-- Account list -->
<apex:pageblocktable value="{!Accounts}" var="At" >
<apex:column value="{!At.Name}"/>
<apex:column value="{!At.Phone}"/>
<apex:column value="{!At.Type}"/>
<apex:column value="{!At.Fax}"/>
</apex:pageblocktable>
</apex:pageblock>
</apex:page>
OUTPUT:
Thanks
Your code is correct ... But recordSetVar will show the data from the from the ListView which you access currently. Please change the list view on account object to All Accounts or my accounts and try to reload your visualforce page
