Opening PDF files in a browser from Sharepoint 2010

If you are facing an issue wherein your Sharepoint users are having to download PDF files onto their local machines to view the files; the below post has got just the solution you are looking for.

Below Step by Step Powershell commands can be run to get the functionality working

From your Sharepoint Application Server; proceed to Start – All Programs – Microsoft Sharepoint 2010 Products – Sharepoint 2010 Management Shell and type below commands

$webApp = Get-SPWebApplication("http://yourwebapplicationurl")

Once the above commands have been successfully run, you can confirm that the PDF application has been added to the MIME Type list using below command


The result is immediate and you can test the solution right away.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s