You need to sign in to do that
Don't have an account?

Sites not displaying any Object Data
I have created a very simple page to simply display a list of Accounts. I am trying to make this list visible on a Sites page so I can demo some functionality to my team.
Nothing I've tried yet has allowed me to display any object data, though the page renders fine within SFDC.
Here's the code for the page.
I have made sure that the Field Level Security is set to "Visible" for these fields. Also, the Site Page Profile has "Read" Access to the Account object.
Can anyone recommend other things I should be looking at to get this (very simple) page to display?
Thanks for any ideas!
Nothing I've tried yet has allowed me to display any object data, though the page renders fine within SFDC.
Here's the code for the page.
Code:
<apex:page standardcontroller="account" showheader="true" recordsetvar="accounts"> <apex:form > <apex:pageblock title="All Accounts">
<apex:pageblockTable value="{!accounts}" var="a"> <apex:column value="{!a.Name}"/> <apex:column value="{!a.createddate}"/>
</apex:pageblocktable>
</apex:pageblock> </apex:form> </apex:page>
I have made sure that the Field Level Security is set to "Visible" for these fields. Also, the Site Page Profile has "Read" Access to the Account object.
Can anyone recommend other things I should be looking at to get this (very simple) page to display?
Thanks for any ideas!
http://www.salesforce.com/us/developer/docs/pages/index_Left.htm#StartTopic=Content/pages_controller_sosc_access_data.htm
Message Edited by Bulent on 12-29-2008 09:58 AM
All Answers
However, last user filter has no value for the anonymous access.
http://www.salesforce.com/us/developer/docs/pages/index_Left.htm#StartTopic=Content/pages_controller_sosc_access_data.htm
if it's not the same issue then check the sharing for the object. If it's set to private sharing then you would need to create a sharing rule to share the records with the site guest user.
Message Edited by Bulent on 11-26-2008 09:24 AM
http://www.salesforce.com/us/developer/docs/pages/index_Left.htm#StartTopic=Content/pages_controller_sosc_access_data.htm
Message Edited by Bulent on 12-29-2008 09:58 AM