Using
sfc/servlet.shepherd/version/download/{!id}
in URL to download PDF files from ContentVersion in a public site.
Is there anyway to get a PDF file to open in a browser instead of Downloading it after clicking the URL.
Using
sfc/servlet.shepherd/version/download/{!id}
in URL to download PDF files from ContentVersion in a public site.
Is there anyway to get a PDF file to open in a browser instead of Downloading it after clicking the URL.
This was actually solved by setting the pdf filetype to 'Execute in Browser' from Setup -> Security -> File Upload and Download Security