Opening PDF Documents from Sharepoint Document Libraries without Saving

Greendata
Greendata used Ask the Experts™
on
We have an SBS 2011 Server with SharePoint 2010. Fully patched and all is working fine except we have a small issue with opening PDF documents from the Document libraries in IE9.

All user access the Intranets from a Windows R2 Terminal Server with IE9, so we would like a global solution instead of per user.
 
Instead of offering us to Open as Read Only or Edit modes like with Office Documents, it always prompts us to Save or Save As at the bottom of the browser window. This is causing issues with staff members as we end up with multiple copies of the same file as they generally save the documents to there desktops and then open. The next time they open the file from their desktop and not the newly updated one from the Intranet.

We have changed the Internet settings in Adobe Reader - Internet > Web Browser Options > Display PDF in Browser to unchecked.
 
Is there a way to have PDF documents Open without having to Save them first. We do not need to edit them just open up read or print.

We would also like to maintain a secure environment.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Justin SmithSr. System Engineer
Top Expert 2012

Commented:
Central Admin - Web App Management - click your web app and choose General Settings in the Ribbon.  Change the file handling to "Permissive".

If that doesn't work, add your site to "Trusted Sites" in IE.

THere is a known issue with IE9 and Reader.
Most Valuable Expert 2011
Awarded 2010
Commented:
Hello,

setting the whole web application to "permissive" may not be desired, since it will allow other file types to open in the browser as well -- which you may not want.

You can run a Powershell script to add the mime type instead:

#Get web application object
$webApp = Get-SPWebApplication "web app url"
#List all allowed MIME types for this web application
$webApp.AllowedInlineDownloadedMimeTypes
#Get web application object again
$webapp = Get-SPWebApplication "web app url"
#Add PDF to allowed MIME type list
$webapp.AllowedInlineDownloadedMimeTypes.Add("application/pdf")
#Commit changes
$webapp.Update()

Open in new window


Using this, the web application settings can remain at "strict" and not allow any and all files to be opened in the browser.

For more details about the big picture, pros and cons,  see here: http://www.mssharepointtips.com/tip.asp?id=1187

cheers, teylyn
Justin SmithSr. System Engineer
Top Expert 2012

Commented:
I wasn't gonna go there for 200 pts,  ha ha.
Most Valuable Expert 2011
Awarded 2010

Commented:
No matter how many points the question carries, there are two different approaches described, which will give Greendata a choice.

Whatever works best for the asker is their best solution. Choice is good. Regardless of points.
Justin SmithSr. System Engineer
Top Expert 2012

Commented:
Ok fine, then here is a third option.  It's possible to set the File Handling at the list level, rather than the Web App.  So, third option......

      $web=get-spweb "url"
      $list=$web.lists["list name"]
      $list.BrowserFileHandling = "Permissive"
$list.update()

Author

Commented:
Exactly what I was looking for. Thankyou !

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial