Office365 – Open PDF in the Browser

SharePoint 2010 and SharePoint 2010 Online have a default setting which prevents certain files (e.g. PDF) from being opened in the browser.

This setting is in Central Administration – “Permissive Browser File Handling”, which allows users to open files in their native applications. This can be considered a security risk… however most organisations I have worked with are prepared to take that risk – the setting is at the Web Application level:

BrowserFileHandling

Or using PowerShell you can target individual MIME types which is more secure than allowing for all:

$webApp = Get-SPWebApplication("http://webAppUrl")
$webApp.AllowedInlineDownloadedMimeTypes.Add("application/pdf")
$webApp.Update()

However, on Office365 these options are not available and until recently, there was no fix for this!

Thankfully Microsoft have listened to requests and have added the following Site Collection feature – which now effectively enables Permissive Browser File Handling:

image

Note that it seems to be necessary to attempt to Edit the file for this to open with your favourite PDF reader, if just for reading:

image

Happy SharePointing and thank you Office 365 team for listening!


Posted

in

, , ,

by

Comments

4 responses to “Office365 – Open PDF in the Browser”

  1. User1

    The above information is not True. Opening PDF’s in browser still doesnt work.

    1. Rashmin P

      I agree

  2. Rashmin P

    I agree

  3. guest

    Upgraded my Adobe Reader software and used this. Now I can open PDFs directly from the browser, but only if I’m in the Library itself. Not from search results.

Leave a Reply

Your email address will not be published. Required fields are marked *