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 is a seasoned Salesforce Developer / Architect, with implementations of Sales Cloud, Service Cloud, CPQ, Experience Cloud, and numerous innovative applications built upon the Force.com platform. He started coding in grade 8 and has won awards ranging from international scholarships to internal corporate leadership awards. He is 37x Certified on the platform, including Platform Developer II, B2B Solution Architect and B2C Solution Architect.