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
priyanshu chaudharypriyanshu chaudhary 

How to provide read access on document object records of type pdf to site guest user?

Hi Community,
We have exposed knowledge article to our customer community. Community can be accesed through public site and so knowledge articles. The problem what I am facing : We have inserted a link of pdf document in the knowledge article field. PDF document is stored in document object. When site guest user click on the link it ask for login to get the document. We want the document should be downloaded without login.
Even I have given access to site guest user on folder in which pdf document is stored in document object. I used public group to assign access to folder. But no luck.
Please help me...
SandhyaSandhya (Salesforce Developers) 

Hi,
In the Sites Profile ("public access settings"), enable Read access to Documents.

Refer below link for similar discussion.

https://developer.salesforce.com/forums/?id=906F000000099UoIAI
 

Please mark it as solved if my reply was helpful. It will make it available for other as the proper solution.
 
Best Regards
Sandhya