Create a New WOPI Binding in SharePoint

Scenario/Problem: You need to create a new binding to associate a file name extension with an application within your SharePoint farm.

Solution: Use the New-SPWOPIBinding cmdlet.

The New-SPWOPIBinding cmdlet creates a new binding to associate file types or applications with SharePoint. Essentially, if you have an Office Web App server running, you simply need to execute this cmdlet with the server name, as shown in Listing 26.1.

Listing 26.1. Creating the WOPI Binding in SharePoint

New-SPWOPIBinding -ServerName "Office.mycompany.com"

This automatically associates the supported file extensions and applications within SharePoint. The current supported applications are Word, Excel, PowerPoint, and OneNote. ...

Get PowerShell™ for SharePoint® 2013 How-To now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.