IT tutorials
 
Technology
 

Sharepoint 2013 : Office Web Apps (part 1) - Create a New WOPI Binding in SharePoint, Review Current SharePoint WOPI Bindings, Configure the Default Action for an Application

9/25/2013 9:38:56 PM
- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019

1. 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 1.

Listing 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.

You can also use the -Application parameter to bind a specific application, as shown in Listing 2. The valid parameter values are as follows:

Excel

OneNote

PowerPoint

Word

Listing 2. Creating the WOPI Binding for a Specific Application


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

2. Review Current SharePoint WOPI Bindings


Scenario/Problem: You would like to see the WOPI bindings generated on your SharePoint farm.


Solution: Use the Get-SPWOPIBinding cmdlet.

You can use the Get-SPWOPIBinding cmdlet to retrieve a list of bindings that were created as a result of the New-SPWOPIBinding cmdlet, explained in the previous section. You can use the cmdlet without any parameters, or you can provide one or more of the following parameters to narrow the list:

Action: String that specifies a specific action to return (such as view or edit)

Application: String that specifies a specific application to return (such as Excel)

Extension: String that specifies a specific file extension to return (such as doc or xls)

Server: String that specifies a specific WOPI server to return

WOPIZone: String that specifies a specific zone to return


Tip

Use the Get-SPWOPIBinding with specific parameters in conjunction with the Set-SPWOPIBinding cmdlet to implement default actions as explained in the next section.

3. Configure the Default Action for an Application


Scenario/Problem: You need to configure the default action for an application.


Solution: Use the Set-SPWOPIBinding cmdlet.

The Set-SPWOPIBinding cmdlet is used to set the default action of applications. This is achieved by providing the -DefaultAction switch parameter, along with a WOPIBinding object via the -Identity parameter.

Use the Get-SPWOPIBinding cmdlet, explained in the previous section, to set a variable to a specific binding or pipe the results into the Set-SPWOPIBinding cmdlet, as shown in Listing 3.

Listing 3. Configuring the Default Action for Excel Documents in SharePoint


Get-SPWOPIBinding -Action "View" -Application "Excel"
| Set-SPWOPIBinding -DefaultAction:$true


 
Others
 
- Exchange 2010 and SharePoint 2010 Integration : SharePoint 2010 Integration
- Exchange 2010 and SharePoint 2010 Integration : Data Storage in Unified Messaging, Exchange 2010 Outlook Web Application
- Exchange 2010 and SharePoint 2010 Integration : Postinstall Configuration (part 3) - Enabling Mailboxes for UM, Testing Functionality
- Exchange 2010 and SharePoint 2010 Integration : Postinstall Configuration (part 2) - Associating the UM Server with the Dial Plan, Create a Unified Messaging Auto Attendant, Creating the Hunt Groups
- Exchange 2010 and SharePoint 2010 Integration : Postinstall Configuration (part 1) - Creating a UM Dial Plan, Associating Subscriber Access Numbers, Creating a UM IP Gateway
- Exchange Server 2010 : Configuring Mailbox Delivery Restrictions, Permissions, and Storage Limits (part 2) - Permitting Others to Access a Mailbox
- Exchange Server 2010 : Configuring Mailbox Delivery Restrictions, Permissions, and Storage Limits (part 1)
- Exchange Server 2010 : Moving Mailboxes (part 2) - Performing Online Mailbox Moves
- Exchange Server 2010 : Moving Mailboxes (part 1) - The Essentials
- Exchange Server 2010 : Managing Mailboxes: The Essentials
 
 
Top 10
 
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
Technology FAQ
- Is possible to just to use a wireless router to extend wireless access to wireless access points?
- Ruby - Insert Struct to MySql
- how to find my Symantec pcAnywhere serial number
- About direct X / Open GL issue
- How to determine eclipse version?
- What SAN cert Exchange 2010 for UM, OA?
- How do I populate a SQL Express table from Excel file?
- code for express check out with Paypal.
- Problem with Templated User Control
- ShellExecute SW_HIDE
programming4us programming4us