You need to sign in to do that
Don't have an account?
Ramakarry
recordSetVar in StandardListController displaying empty records
Hi Folks,
My recordsetVar is not displaying records even the object is having records in my Org.
Please find the peiece of code below and corresponding UI
<apex:page standardController="Account" recordSetVar="records" >
<apex:form >
<apex:pageBlock >
<apex:pageBlockTable value="{!records}" var="r">
<apex:column headerValue="Name" value="{!r.Name}"/>
<apex:column headerValue="Phone" value="{!r.Phone}"/>
</apex:pageBlockTable>
</apex:pageBlock>
</apex:form> </apex:page>
Regards
Rama
My recordsetVar is not displaying records even the object is having records in my Org.
Please find the peiece of code below and corresponding UI
<apex:page standardController="Account" recordSetVar="records" >
<apex:form >
<apex:pageBlock >
<apex:pageBlockTable value="{!records}" var="r">
<apex:column headerValue="Name" value="{!r.Name}"/>
<apex:column headerValue="Phone" value="{!r.Phone}"/>
</apex:pageBlockTable>
</apex:pageBlock>
</apex:form> </apex:page>
Regards
Rama
Same code is working for me. Do you have permission to read account records. Is it happening with other objects also ?
Thanks,
Manohar