This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal


Nov 19, 2015, 7:00 PM
45 Posts

Force PDF download on Domino

  • Category: Accessibility
  • Platform: Windows
  • Release: 9.0.1
  • Role: Developer
  • Tags: PDF
  • Replies: 0

Can anyone think of a way, maybe using HTTP headers to force a PDF on a Domino site to download, rather than opening in a browser?

(The reason is that it is a fill-inable form and tons of problems these days when fill-in-able forms open inside various browser windows, it's so broken.)

I know about making the file a zip file but that's a pain for mobile users and assistive devices, so don't want to go there. And I only want to force this PDF to download, not every other PDF on the site.

I'll keep trying but thought it was worthwhile to ask as well.

I found suggestions about how to do it on apache and amazon, if this serves as any inspiration.

<FilesMatch ".(?i:pdf)$">
ForceType application/octet-stream
Header set Content-Disposition attachment
</FilesMatch>

4. Upload this file into the 'pdf' folder and rename this file to .htaccess

Done. Now all pdf files in that folder will be prompted to download rather than view online.

If you are hosting the pdf file on Amazon S3, just right click on the pdf file and select 'Set HTTP Headers'

Then click on 'Add' > 'Content-Disposition' > 'attachment; Filename=' > Ok.


This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal