When I view a file uploaded to ContentDocument in Salesforce with a shared link, I see a download button.
I would like to hide this.
I found that the following URL format does not show the download button, but it is not suitable for multi-page PDF files, perhaps because it is displayed as an image.
For example, even if a PDF file has 5 pages, only one page will be displayed when displayed in this URL format.
【URL】
https://xxxxxxx.file.force.com/sfc/servlet.shepherd/version/renditionDownload?rendition=ORIGINAL_Png&versionId=068xxxxxxxxxxxxxx& operationContext=CHATTER&contentId=05Txxxxxxxxxxxxxxx
Is there a URL format that displays multi-page PDF files but does not display a download button?
Tip: The file URLs are displayed in an iframe on the Experience Cloud site.
Thank you for your response.
I understand.
We will take other measures to prevent downloading.