Here's my code:
<lightning:layoutItem padding="around-small"> <lightning:fileCard fileId="069XXXXXXXXXXXX" description="logo"/> </lightning:layoutItem>
I'm using (for now) a hardcoded Id of a ContentDocument that I know exists, but all I get is a box with
No preview available in it.
The lightning component sits on the Community Builder page on a site.
The file itself is visible to
Your Company. The person trying to view this image is logged in as a community user.
There's obviously some configuration I'm missing, but dammit Jim, I'm a developer, not an administrator.
The ContentDocument I'm trying to view here has a ContentDocumentLink with
Doesn't that mean that the file is shared with the entire org? All of the users in the org? Including community users?