Let's say we have page

<apex:page standardController="Account" recordSetVar="Accounts">
<apex:pageBlockTable value="{!Accounts}" var="acc">
    <apex:column value="{!acc.name}"/>

but I got nothing. What's wrong?


Works fine for me (with the trailing </apex:page> added). You must have Account records in your org for data rows to appear.

  • I have got more then 200 records in Account in my org. At least 'select count() from account' says about it – pincet Nov 27 '19 at 9:59
  • @pincet Then quite weird. If you are using a system administrator login, then profile settings should not be involved. One thing that is left to look at is sharing settings. – Keith C Nov 27 '19 at 10:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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