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
Walter@AdicioWalter@Adicio 

Site Guest User cannot see any custom fields on a custom object?

setup a site and a custom object. The site public access guest user profile has full permissions to the custom object.

 

setup a controller and a page to show a record from the custom object. The site guest user also has access to the apex class and the visualforce page.

 

when i load the page as the site guest user i can see any standard fields for the custom object, but it does not show any custom fields for the custom object.

 

no error message just shows nothing.

 

what am i doing wrong?

Best Answer chosen by Admin (Salesforce Developers) 
EIE50EIE50

Hi,

 

Navigate to Setup -- Develop -- Sites -- Site Detail -- Public Access Settings.

 

Scroll down here,

 



 

Click on the View link next to this and edit it.Then you should be good to go.

 

Thanks.

All Answers

sf.dev.ax1103sf.dev.ax1103

Can you go to public settings of Site-->Edit--->Field Level Security of the Custom Object-->View-->Edit-->Mark custom field visible

Walter@AdicioWalter@Adicio

Yes I can go there but no "Site Guest User Profiles" show up in the list.

EIE50EIE50

Hi,

 

Navigate to Setup -- Develop -- Sites -- Site Detail -- Public Access Settings.

 

Scroll down here,

 



 

Click on the View link next to this and edit it.Then you should be good to go.

 

Thanks.

This was selected as the best answer
Walter@AdicioWalter@Adicio

Ah HA!  Thank you .

 

Understood.

Walter@AdicioWalter@Adicio

thank you  , i think you were pointing me to the same place but i didnt get it yet.