function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
lokesh mallalokesh malla 

visual force page not showing the content

Hi when i am trying to create a visualforce page with the following commands the page is not showing any command buttons except the page block title so can any one help me with this 
<apex:page standardController="Account" recordSetVar="accounts">
 <apex:form >
    <apex:pageBlock title="All Accounts accorss organisations">
      <apex:pageBlockTable value="{!Accounts}" var="a">
         <apex:column >
             <apex:commandLink value="{!a.Name}" action="/{!a.id}"/>\
             
          
          </apex:column>
         <apex:column value="{!a.AccountNumber}"/>
         <apex:column value="{!a.AnnualRevenue}"/>
      </apex:pageBlockTable>
    </apex:pageBlock>
 </apex:form>
 </apex:page>



User-added image
Kevin Zuiker 10Kevin Zuiker 10
This code actually works for me. You are creating commandLinks though, not command buttons.

Do you have any accounts in your org?

User-added image
Leo10Leo10
Hi lokesh malla

Your code seems like perfectly good. I think you have no records in your Account object. Please create one record and try again.

Thank you