Configuring FileCloud To Use Office Online On-Premises Server For Web Edit

Introduction

FileCloud supports web based document editing using Microsoft Office Online. FileCloud uses the WOPI protocol to connect to Office Online for web based editing.
This document assumes that the administrator has already installed an Office Online server. 

Configuration Tips

  • When configuring FileCloud with Office Online on-premises server, please use the default 'admin' user to login into FileCloud admin UI. For security reasons, this configuration is not allowed as a normal user promoted as admin.

Configuring FileCloud With Office Online

  1. Navigate to the URL http[s]://IPAddressOfYourOfficeOnlineServer/hosting/discover using a browser. This is the page that contains all the information of various editors supported by Office Online server.
  2. From the resulting page, note zone of editors to be used by FileCloud. The selection depends on the requirement of where the web edit feature will be used. In our case, we will choose "internal-http", as we want to offer web-editing only to internal users.
     
  3. Ensure that the Office online server has access to the FileCloud server (To verify: navigate to FileCloud user login page from office online server).
  4. Add the Office Online server to the Content Security policy in the .htaccess file.
    1. Open the .htacess file:
      Windows: C:\xampp\htdocs\.htaccess
      Linux: /var/www/html/.htaccess
    2. Find the line: Header set Content-Security-Policy, and add your Office Online server url without http or https, for example oos.company.com to the url's listed for default-src, script-src, frame-src, and img-src:

    3. Save your changes.
  5. Now login into FileCloud server admin UI(as the default 'admin' user), which needs to integrate with Office Online to offer web editing.
  6. Navigate to Settings -> Web edit tab. Select "Microsoft Office Online" as Wopi Client Type, "Internal HTTP" as Wopi Client Zone (select other option as required), IP address/URL for office online server as Wopi client host.
    On entering the details click on configured.

     

  7. Upon successful configuration, the following screen should appear.
     
  8. Now that FileCloud server is configured with office online server, administrator might need to enable the web edit option for users.
    To enable web edit in user UI, navigate to Customizations -> General -> UI Features tab and check the option "Show Online Edit Option". Click "Save" button to save the changes.

     

  9. Now login into the user UI and hover over an editable Office document. Hover over the Web Edit icon, and ensure that you see the Office icon and the tooltip Open in Office Online.
  10. Click the icon and confirm that the document opens in its Office Online editor.