You need to sign in to do that
Don't have an account?
test batch
Account records are not displaying on vf page
Can able to display all object records with below snippet except Account Object, please let me know the reason behind this.
<apex:page standardController="Account" recordSetVar="items" > <apex:pageBlock > <apex:pageBlockTable value="{!items}" var="a"> <apex:column value="{!a.name}"/> <apex:column value="{!a.industry}"/> </apex:pageBlockTable> </apex:pageBlock> </apex:page>
Can you please check the list view of the account. I have observed that the recordSetVar picks up the current list view of the logged in user.
Hope it helps
RD
All Answers
The above code seems pretty fine and has no issues.The same code has worked for me when I tried in my developer org and the output is as follow in the below image.
May I suggest you please try it by giving an attempt in a new developer org which should probably resolve the issue.
Regards,
Nagendra.
only this specific org, which is not working.. May i know the reason behind this ..?
This might be due to some pre-existing configuration or the code which might be stopping from the assessment check.
Please mark this as solved if it's resolved so that it might help others who are encountering similar issue.
Regards,
Nagendra.
Can you please check the list view of the account. I have observed that the recordSetVar picks up the current list view of the logged in user.
Hope it helps
RD