| Using PCC for SharePoint > Previewing Office Formats with Office Web Apps |
![]() |
Where prefaced by PS>, run these cmdlets in the SharePoint 2013 Management Shell |
|
Copy Code
|
|
|---|---|
PS>Remove-SPWOPIBinding –All |
|
|
Copy Code
|
|
|---|---|
PS>New-SPWOPIBinding –ServerName <specify-owa-host-name> -AllowHttp |
|
In pcc.config, add attribute interactive-preview="false" to any extensions supported by Office Web Apps. These include MS Office extensions, and also PDF, ODT, and ODP. For any of these you wish to preview with PCC, omit attribute interactive-preview (which defaults to true when omitted), and execute the follow command to remove the current binding:
|
Copy Code
|
|
|---|---|
PS>Remove-SPWOPIBinding –Action interactivepreview –Ext <specify-extension> |
|
In Update-PCCWOPIBinding.ps1, comment the following line by starting the line with #:
|
Copy Code
|
|
|---|---|
Remove-SPWOPIBinding -Action interactivepreview -Confirm:$false
|
|
|
Copy Code
|
|
|---|---|
PS>Update-PCCWOPIBinding.ps1 |
|