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
balaji Jayararmanbalaji Jayararman 

How do i provide access to contentversion record for guest user profile?

I have requirement to display image in Public site using content version record.

Ex: https://mydomain.com/sfc/servlet.shepherd/version/download/0681U000008x0I7QAI

However the image is not rendering, because of permission issue in guest user profile. Please help me to resolve this issue..
ShirishaShirisha (Salesforce Developers) 
Hi Balaji,

Greetings!

I can see that we have an existing Idea created for the requirement to provide an access to the Content which is below:

https://trailblazer.salesforce.com/ideaView?id=0873A000000cOZcQAM

I would suggest you to take a look the below thread which will help you.

https://salesforce.stackexchange.com/questions/262167/contentversion-file-not-viewable-to-guest-site-user

Kindly mark it as best answer if it helps so that it can help others in the future.

Warm Regards,
Shirisha Pathuri