• Divyansh07
  • NEWBIE
  • 0 Points
  • Member since 2015
  • Senior Developer
  • Trekbin Technology

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 2
    Replies
Made a basic VF page for accounts that compiles with no errors.  However, the page columns render blank and don't show any records.  Is there something I need to adjust in the view permissions?  

Note: I'm trying to view the account page from the admin user who is also the owner of all accounts.
<apex:page showHeader="true" sidebar="true" standardStylesheets="true" docType="html-5.0" standardController="Account" recordSetVar="accounts">

<apex:pageBlock>
	<apex:pageBlockTable value="{!accounts}" var="a">
		<apex:column value="{!a.Name}" />
		<apex:column value="{!a.ShippingStreet}<{!a.ShippingCity}{!a.ShippingState}{!a.ShippingPostalCode}" />
	</apex:pageBlockTable>
</apex:pageBlock>

</apex:page>


Page Code:
<apex:page showHeader="true" sidebar="true" standardStylesheets="true" docType="html-5.0" standardController="Account" recordSetVar="accounts">

<apex:pageBlock>
    <apex:pageBlockTable value="{!accounts}" var="a">
        <apex:column value="{!a.Name}" />
        <apex:column value="{!a.ShippingStreet}<{!a.ShippingCity}{!a.ShippingState}{!a.ShippingPostalCode}" />
    </apex:pageBlockTable>
</apex:pageBlock>

</apex:page>