Open PDF file in browser in SharePoint 2010

Option 1. Select Browser File Handling option to Permissive instead of Strict through SharePoint Central Administration.

SharePoint Central Administration => Application Management => Manage Web Applications => General Settings

image

Option 2. Keep Browser File Handing option as Strict and add allow inline download mime type for PDF through Powershell command line.

$webapps = Get-SPWebApplication
foreach ($webapp in $webapps)
{
    $webapp.AllowedInlineDownloadedMimeTypes.Add("application/pdf")
    $webapp.Update()
}

Advertisements

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

w

Connecting to %s