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
EguiEgui 

Notes and attachments visibility on Salesforce site

Hello all,

I have create a visualforce page showing standard object contract details using apex:details.
When the page is displayed from withing Salesforce (i.e. https://instance.visual.force.com/apex/testContrat?id=XXX)
in the related list NotesAndAttachment both notes and attachment are visible and clickable (cf. below) :
User-added image

But when the page is displayed from Salesforce site (i.e. http://site.force.com/apex/testContrat?id=XXX)
in the related list NotesAndAttachment both notes and attachment are visible BUT NOT clickable (cf. below) :

User-added image
I think this has to do with the profile of user associated with Salesforce site, but I can't figure why.

Could you please advise ?

Thanks you very much.
 
ShashankShashank (Salesforce Developers) 
It could be because of the site guest user access whose permissions are controlled by the "Public Access Settings" for that site. Authenticated users may see this differently if their profile has necessary permissions.