Microsoft Office Online / WOPI Integration

About

The WOPI (Web Application Open Platform Interface) app, which is bundled with ownCloud Enterprise Edition, is the connector between ownCloud server and Microsoft Office Online Server.

It allows Microsoft Office Online users to collaboratively work with Office documents in ownCloud in the browser, by connecting ownCloud with your Microsoft Office Online Server via the WOPI protocol. To use it, you need to have a running Microsoft Office Online Server in your data center.

Please bear in mind:

  • WOPI is only available for ownCloud enterprise. It is not available in the community version.

  • Out-of-the box only the on-premise version of Microsoft Office Online Server is supported.

  • This app requires ownCloud Version 10.1 and php 7.1.

If you want to integrate the Office 365 (cloud) version of Microsoft Office Online, you need to get in touch with us.

Configuring the WOPI App in ownCloud

To configure the WOPI app in your ownCloud installation, add the following configuration to config/config.php, and adjust it based on the details of your setup:

'wopi.token.key' => 'replace-with-your-own-random-string',
'wopi.office-online.server' => 'https://your.office.online.server.tld',
----

== Restrict Usage to Users in a Specific Group

Microsoft Office Online access can be restricted to users in a specific group, by use of the `wopi_group` configuration key (in `config/config.php`), as in the following example.

[source,php]
----
'wopi_group' => 'admin'
----

In the example above, only users in the `admin` group would be able to access Microsoft Office Online.

NOTE: If the key is not defined, then all users have access to WOPI.