Salesforce File Type Security – Change PDF Behaviour To Download or Open In Browser

Matt/ January 17, 2017/ Salesforce, Technology

I learned something today I probably should have already known.  We have a number of PDF reports that used to download when the links were clicked, but were now opening up in the browser.  I started playing with the VF Page to alter this behaviour but soon discovered there’s actually a Salesforce setting that controls how different file types are handled.

Navigate to Administration Setup > Security Controls > File Upload and Download Security to access the following page:

Hopefully this saves you a bit of time in a similar situation!

Share this Post

About Matt

Matt McGuire is a Salesforce architect, AI builder, and punk musician based in Toronto. Canada's #1 certified Salesforce professional, 43× certified across architecture, development, AI, and a wide range of platform products. He's been building on Salesforce for 17 years and currently spends most of his time at the intersection of AI and the platform. The Music Intelligence Engine is his most interesting project to date. He thinks you should read the whole series.