My users like to view PDFs in their browser on our SharePoint site. I needed to allow this in 2010:
Here is the powershell to allow inline PDF viewing in SharePoint 2010
1 2 3 4 5 6 | $webapps = Get-SPWebApplication "SharePoint - intranet.company.com80" foreach ($webapp in $webapps) { $webapp.AllowedInlineDownloadedMimeTypes.Add("application/pdf") $webapp.Update() } |
Comments are closed.