如题~我现在想实现在线打开PDF的同时但不下载文件的功能~现在我可以在线打开~但是打开后页面会显示保存的图标~如图:

还有就是凡是有人打开了这个PDF就会有计数~希望大家来帮忙~谢谢~
------解决思路----------------------
看到你附上的圖標, 就知道你的PDF並非由OWA開啟, 而是用Adobe Reader吧
我猜有兩個可能, (1) 你的LIBRARY設定了用client application打開
參考
(2) 你的OWA沒有連結*.PDF的檔案類型, 以下兩句我沒執行過, 因為OWA天生就會打開PDF(沒記錯的話)
Get-SPWOPIBinding –Application "WordPDF"
------解决思路----------------------
Remove-SPWOPIBinding -Confirm:$false
New-SPWOPIBinding –ServerName "Server.corp.Contoso.com" –Application "WordPDF"
P.S. 到底你的PWA能否開PDF?
------解决思路----------------------
先打這句:
Add-PSSnapin Microsoft.SharePoint.PowerShell
再打這句:
Get-SPWOPIBinding -Application "WordPDF"
------解决思路----------------------
沒東西回傳表示Wordpdf沒有binding
在同一個PowerShell窗口, 執行以下:
New-SPWOPIBinding -ServerName "owa.sharepoint.com" -Application "WordPDF"
owa.sharepoint.com換成你OWA server的名字
參考: https://support.microsoft.com/en-us/kb/2767967/zh-cn