SharePoint Tidbit – Changing farm default document behavior for the farm


Hello All,

These days I am working with one of my customers to deploy/migrate to SharePoint 2016.  And last week we installed Office Online Servers, and connected them using 'New-SPWOPIBinding' command.  At that point he discovered that default value was to Open Online and he wanted the farm to default to the Client on the PC.

After he dug thru the Internet, he came to me asking about how to do it.  I was surprised to find that I was not pleased by the answers I found so decided to publish this blog for my records and your knowledge.

First to connect SharePoint to OOS farm you run the command

New-SPWOPIBinding -ServerName "Server.domain.com" -AllowHTTP

NOTE: There are several other switches in the command, for a better understanding please read the TechNet article https://technet.microsoft.com/en-us/library/jj219441.aspx

Second to set the default action to 'Open in Client' for all extensions on all Sites, then run the following command

Get-SPWOPIBinding | Set-SPWOPIBinding -Defaultaction:$False

NOTE: Site Collection Owners and Admins will be able to change this behavior on the Site or List just follow this article https://technet.microsoft.com/en-us/library/ee837425.aspx

Pax

Comments (1)

  1. Ankur Madaan says:

    But by doing this you are taking the major advantage Office Online Server provides apart from Durable links in 2016, isn’t it should be the question why you are spending extra money on additional server and license when you don’t need the most important feature provided by Office Online Server. Big gap in Planning phase it seems.
    Thanks for posting this, it definitely gave me an idea that we can disable the default open in browser even if office online server is installed.

Skip to main content