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.

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.

  • 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 Mar 7 '19 at 11:40
  • Have you tried View All on the parent object? – AvailableName Mar 7 '19 at 15:22
  • Yes of course. This still does not work. – DebaSen Mar 18 '19 at 11:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.