close

狀況說明:

台灣廠同仁可以直接開啟pdf,而大陸廠需先儲存至本機,才可開啟

解決方法:

開啟SharePoint2010的PowerShell工具(以管理員身分執行)

=======================================

輸入:

$webApp = Get-SPWebApplication http://localhost

再輸入:
 If ($webApp.AllowedInlineDownloadedMimeTypes -notcontains "application/pdf")
 {
 Write-Host -ForegroundColor White "Adding Pdf MIME Type..."
 $webApp.AllowedInlineDownloadedMimeTypes.Add("application/pdf")
 $webApp.Update()
 Write-Host -ForegroundColor White "Added and saved."
 } Else {
 Write-Host -ForegroundColor White "Pdf MIME type is already added."
 }

========================================

 

Reference:http://www.pdfsharepoint.com/sharepoint-2010-and-pdf-integration-series-part-1/

arrow
arrow
    全站熱搜

    masterman 發表在 痞客邦 留言(0) 人氣()