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
Winder OjedaWinder Ojeda 

As Community User I can not see the attachment of a custom object

Hello, I have the following problem, as admin I have created a custom object to which I have attached a pdf, if you log me in as admin this attached pdf is correctly displayed on my visualforce page but if I login as Community User does not upload the pdf.

As Admin it works but as Community User it does not
 
<iframe style="display:block;margin:0 auto;"
        src="https://myorg.content.force.com/customers/servlet/servlet.FileDownload?file={! idAttachment }"
        width="1200"  height="1500">
</iframe>

It has happened to you
NagendraNagendra (Salesforce Developers) 
Hi Winder,

May I request you please confirm what is the level of access to the profile for the document?

If the access is restricted then I would suggest you give a try by giving read access to the respective profile which should probably do the trick.

Please let us know if this helps.

Kindly mark this as solved if the reply was helpful.

Thanks,
Nagendra