how to configure the default open behavior for Office documents in SharePoint 2013

by Marco Rietveld 22. juli 2014 13:06

Clicking on a document in a SharePoint 2013 document library, the document opens in a client application or in the browser. This depends on the setup of Office Web Apps and the settings of the OpenInClient feature per library or site collection.

When SharePoint 2013  is configured to use Office Web apps (OWA), Word, PowerPoint, excel and OneNote files are opened in the browser. Even though PDF files are not part of Office when OWA is configured, PDF files are also opened in the browser.

The default behavior can be changed for the SharePoint 2013 Farm per file type, Site Collections or Document Libraries.

Changing the default opening behavior for the SharePoint 2013 Farm can be done using New-SPWOPIBinding or Set-SPWOPIBinding commands.

Set default behavior for a Site Collection

Browse to a SharePoint site collection to configure the default open behavior and navigate to Site settings, Select Site Collection Features in Site Collection Administration section.

image

To open documents in the client application, activate the feature "Open Documents in Client Application by Default feature".

image

 

Set default behavior for a Site Collection using Powershell

The Open Documents in Client Application by Default feature can be Enabled or Disabled by using the Powershell.

To enable the feature:

Enable-SPFeature 8A4B8DE2-6FD8-41e9-923C-C7C3C00F8295 -url <SiteCollURL>.

Get-SPSite -limit ALL |foreach{ Enable-SPFeature 8A4B8DE2-6FD8-41e9-923C-C7C3C00F8295 -url $_.URL } 

To disable the feature:

Disable-SPFeature 8A4B8DE2-6FD8-41e9-923C-C7C3C00F8295 -url <SiteCollectionURL>

Get-SPSite -limit ALL |foreach{ Disable-SPFeature 8A4B8DE2-6FD8-41e9-923C-C7C3C00F8295 -url $_.URL }

 

Set the default behavior for document library

Browse to a SharePoint document library and select Library tab on the ribbon and select Library Settings.

image

Select Advanced Settings in Document Library settings.

image

In Advanced Settings go to the Opening Documents in the Browser section choose the default behavior. 
To open documents in the client application, select Open in the client application.
To open in web browser, select Open in the browser.
The default setting is “Use the server default”.

image

Tags: |

Reactie plaatsen


  • Reactie
  • Live voorbeeld
Loading

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2018 SharePoint Geek