0

I have a related list of files "AttachedContentDocuments" on a VF page (using the tag), which is accessed through a force.com site. This page works as expected for the logged in user. But when accessed over the site (i.e: for a guest user) it returns the "Authorization Required" error page.

I am aware that this typically occurs because of a permission issue. But I am unable to locate the permission required for this to work.

Waiting for suggestions.

1

1 Answer 1

0

In Setup:
User Interface > Sites and Domains > Sites (or type "Sites" in the search box)
Click the Site you want to configure.
On the top is the Public Access Settings button. Click that.
That takes you to the profile configuration page for the guest user accessing your site. From here you might want to try Object Settings > Files and check the permissions there.
Also, sometimes you need to allow read/write privileges on the object related to the files you want the user to be able to view.

3
  • Thank you for the answer. Unfortunately, I have given the mentioned permissions already and this still gives me the same problem. Any other idea?
    – DebaSen
    Commented Mar 7, 2019 at 11:40
  • Have you tried View All on the parent object? Commented Mar 7, 2019 at 15:22
  • Yes of course. This still does not work.
    – DebaSen
    Commented Mar 18, 2019 at 11:58

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .