none
Opening PDF file in browser RRS feed

  • Question

  • Hi,

    We have a document library that is set to open documents in a browser because we are having issues with it opening word documents in the client application. However, now we are seeing that the pdf files are opening in word viewer instead of Abobe. Is there any method where we can open the pdf files in adobe while it is still set to open in browser?

    Thanks.

    Thursday, May 16, 2019 12:27 PM

All replies

  • I'm assuming you have Office Web Apps server or Office Online Server deployed. You can use a WOPI suppression to do this (it will be a farm-wide change).

    https://docs.microsoft.com/en-us/powershell/module/sharepoint-server/new-spwopisuppressionsetting?view=sharepoint-ps

    You can see in the examples the suppression takes a file extension ("PDF") followed by an action ("View"). This should likely be sufficient for your use case.


    Trevor Seward

    Office Servers and Services MVP



    Author, Deploying SharePoint 2016

    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

    Thursday, May 16, 2019 2:10 PM
    Moderator
  • Hi J-Bal,

    Try running the below command from SP Side to open the pdf files in pdf viewer.

    Get-SPWOPIBinding -Application "WordPDF" | Remove-SPWOPIBinding -Confirm:$false

    Thanks & Regards,


    sharath aluri

    Thursday, May 16, 2019 3:24 PM
  • Hi,

    If you find any replies helpful to you, please remember to mark then as answers. 

    If you have solved the problem yourself, you can reply the solution and mark it as the answer. 

    It will help others who meet the similar question in this forum. 

    Thank you for your understanding.

    Best regards

    Chelsea Wu


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    SharePoint Server 2019 has been released, you can click here to download it.
    Click here to learn new features. Visit the dedicated forum to share, explore and talk to experts about SharePoint Server 2019.

    Monday, May 20, 2019 1:43 AM