+ Start a Discussion

Salesforce files for Guest community user


Can we view Salesforce files logged in as Community guest user? I have a file related list under case I can view File related list when logged in as community user however prior to log in (as a guest user) I can see case but not file related list. Are files visible for a guest user? If yes how can I enable? 

Raj VakatiRaj Vakati
Please refer this link 
Content is not available with Customer Community licenses. 

Hi Raj, 

Thanks for your reply. We are using Customer community plus license and content is available for a logged in community user, its just the guest user who cannot see. 
Nguyen Tran 6Nguyen Tran 6
Hi Prasan, have you had any luck with this? We are running into same issue.
Joshua Carritt-Baker 2Joshua Carritt-Baker 2
Just a bump. Would be v useful for guests to see Files related list in public Groups
Bishwambhar Sen 16Bishwambhar Sen 16
Not sure if you are still looking for solutions to this problem but I had the same issue and I figured it out. Because of current permission restrictions you cant directly allow a guest user to access Content Document or files. That being said. You could always display the content using dataURI by rendering the binary value of the file. You need to encode it in base64 and then use dataURI to display it on the client side. I tried it for images and it worked for me. One caveat to this approach is, for bigger file sizes the download can freeze sandbox environment pages and in production it wont freeze but degrade the performance a bit. I wish Salesforce would allow sharing related files if the record itself is accessible to guest users.