Microsoft Office Online / WOPI Integration
Introduction
The WOPI (Web Application Open Platform Interface) app, which is bundled with Myota Vault Enterprise Edition, is the connector between Myota Vault and Microsoft Office Online Server or Office 365 (cloud).
It allows Microsoft Office users to collaboratively work with Office documents in Myota Vault in the browser, by connecting Myota Vault with your Microsoft Office Online Server or Office 365 (cloud) via the WOPI protocol.
-
Microsoft Office Online Server: To use it, you need to have a running Microsoft Office Online Server in your data center.
-
Office 365 (cloud): To use it, you need an active Microsoft 365 subscription.
|
Please bear in mind:
|
Procedure using Microsoft 365
Apart from licensing, when using Microsoft 365, the following procedure applies, contact Myota Vault Support for more details:
-
Customers provide Myota Vault with:
-
a written statement about their Microsoft 365 entitlement.
-
the URL of their Myota Vault instance. Only users coming from this URL will be able to use Microsoft 365.
-
-
Myota Vault provides customers with a required proxy URL to be used in the settings, see below.
-
Among other things, the proxy checks if users originate from the given Myota Vault Instance URL.
-
-
When users open an office document via the Myota Vault instance and Office 365 for the web is loaded, Microsoft checks if these users are already signed in via a Microsoft 365 business account. If users are not yet signed in, they will be prompted to sign in.
Preparing the Environment
To use Microsoft Office for the web, you need:
-
an Office Online Server locally installed, or
-
an active Microsoft 365 subscription including the data provided by Myota Vault, see Procedure using Microsoft 365.
All involved servers (Office Online Server and the Myota Vault) need to be accessible by HTTPS with valid certificates.
Configuring the WOPI App in Myota Vault
To configure the WOPI app in your Myota Vault installation, add the following environment variables, adjusting them as necessary based on the details of your setup:
Restrict Usage to Users in a Specific Group
Access to Microsoft Office Online can be restricted to users in a specific group by using the MYOTA_WOPI_GROUP environment variable, as shown in the following example:
In the example above, only users in the `admin` group would be able to access Microsoft Office Online.
| If the key is not defined, then all users have access to this Microsoft Office Online service connected via WOPI. |
Locking the Document
If you open a document with Microsoft Office Online in Myota Vault, it makes use of the WebDAV file locking functionality available in Myota Vault. The idea is to lock the file so other users with access can’t make changes to the document while you’re editing it.
In other words, the feature ensures that you are the "master editor". Your changes will always be the "master state". Other users can make changes, e.g., with the desktop client, but those will create conflict files for them, which can be resolved afterward. When you close the document, Microsoft Office Online unlocks the file so others can edit it.
You can always click on the lock icon next to your file name and unlock it manually using the button in the sidebar.
Lock Timeout
If a user is editing a file and loses their internet connection, the lock will timeout, freeing the lock after 30 minutes. Refer to the WOPI documentation for further information.
Known Issues
Document Locks Are Not Released When Using Google Chrome
When editing a document with Google Chrome (and Chromium) via Myota Vault in Microsoft Office Online, the document lock is not released when the document is closed. The document lock is only released after the 30-minute timeout or a manual lock release. To mitigate the issue, try to remember to manually unlock the document before closing it.
More information about this issue is available in the following links:
Troubleshooting
Checklist if something is not working:
-
Client can reach the Myota Vault (browse to web page and log in)
-
Client can reach the Office Online Server (via hosting/discovery url with https)
-
Myota Vault can reach the Office Online Server (via hosting/discovery url with https)
-
Office Online Server can reach Myota Vault (browse to web page and log in)
Make sure TLS 1.2 is being used: