You need to sign in to do that
Don't have an account?
manjunath vivek
Not able to retrieve the fields to VF page from contact.
I am not able to retrieve the fields from contact,can some one help me on this?
<apex:page standardController="contact" recordSetVar="contact">
<apex:pageBlock title="Viewing Contacts">
<apex:form id="theForm">
<apex:pageBlockSection >
<apex:pageBlockTable value="{!contact}" var="c" id="List">
{!c.name}
</apex:pageBlockTable>
</apex:pageBlockSection>
</apex:form>
</apex:pageBlock>
</apex:page>
<apex:page standardController="contact" recordSetVar="contact">
<apex:pageBlock title="Viewing Contacts">
<apex:form id="theForm">
<apex:pageBlockSection >
<apex:pageBlockTable value="{!contact}" var="c" id="List">
{!c.name}
</apex:pageBlockTable>
</apex:pageBlockSection>
</apex:form>
</apex:pageBlock>
</apex:page>
also you need to have apex:column inside
<apex:column value="{!c.name}"/>
Try this
Thanks for pickingup my question, I have tried your code, still not works
I am sending you the screen shot.
https://www.salesforce.com/us/developer/docs/pages/Content/pages_controller_sosc_list_views.htm
else you to have the controller extension to get the all contacts. i am not sure if there is an easy way to get all the contacts.