New answers tagged

0

You need to fix the file URL and construct it as follows to get the file preview: https://your-community-domain-url/sfc/servlet.shepherd/version/renditionDownload?rendition=THUMB720BY480&versionId=<ContentVersionId> Then use NavigationMixin with standard__webPage to redirect to the file URL. This answer provides some additional info with link to ...


0

This is covered in the ContentVersion documentation as by design: Note: Depending on how files are shared, queries on ContentDocument and ContentVersion without specifying an ID won't return all files a user has access to. For example, if a user only has access to a file because they have access to a record that the file is shared with, the file won't be ...


Top 50 recent answers are included