> For the complete documentation index, see [llms.txt](https://docs.empoweredgrc.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.empoweredgrc.com/releasedocumentation/readme/2025-releases/25.1/new-features-and-platform-updates/office-for-the-web.md).

# Office For The Web

\
Empowered now uses the Web Application Open Platform Interface (WOPI) protocol to integrate with Office for the web. This allows users to create, edit and view Microsoft Excel / PowerPoint / Word documents directly within Empowered, without the need to save a local copy first.

A new portal wide configuration option Enable Office for the Web has been added with a default value of No. This can be changed to Yes to enable the integration. <br>

When the above configuration is set to Yes, two new columns will display for all attachment tables:

*

Edit in Office

* View in Office <br>

The following file types are supported for editing in Office for the Web:

* .docx (Word)

* .pptx (PowerPoint)

* .xslx (Excel)

Attachments with any other file types, e.g. .pdf, other than those listed above will not be supported with this integration and as such, will not display an ‘Edit in Office’ or ‘View in Office’ button in the respective column on the page.

<figure><img src="https://3116934614-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMyFdKuQnIBUzREWSQhNs%2Fuploads%2FfKRIMfkcydoVYZKrf873%2Fimage.png?alt=media&amp;token=1e33e1ff-1b0b-4083-80a3-37796e0a2f5f" alt=""><figcaption></figcaption></figure>

Clicking on the ‘Edit in Office for the web’ or ‘View in Office for the web’ will open a popup where the document can be edited or viewed as shown in the screenshot below. It will be possible for many users to edit or view the same document concurrently.

<figure><img src="https://3116934614-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMyFdKuQnIBUzREWSQhNs%2Fuploads%2FNWAn9RjkBgkJPxaNDJI8%2Fimage.png?alt=media&amp;token=c9f0a1b9-6926-40e0-a1ca-61b7d6c04199" alt=""><figcaption></figcaption></figure>

When adding an attachment, it will now be possible to directly create a new Office document, which when created, will immediately open to allow for editing to occur. To support this, a new parameter of ‘Attachment Type’ has been added to the Add Attachment page. When ‘Create New Office Document’ is selected, the document will open in the Office editor when a Save action occurs.

<figure><img src="https://3116934614-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMyFdKuQnIBUzREWSQhNs%2Fuploads%2Fy2gq1JLR2LRTKavJLkVe%2Fimage.png?alt=media&amp;token=2b54dab0-1d4b-4288-8e9c-d2239d8ec81e" alt=""><figcaption></figcaption></figure>

To prevent any unwanted data loss and to help recover changes made in error, ‘Edit History’ functionality has been developed for our Office for the Web integration. This can be enabled and controlled through the following Admin - Configure Application properties:\\

* Enable Edit History for Office attachments :
  * Setting this to ‘Yes’ will enable the ‘Edit History’ functionality, creating versions of the document periodically that can be restored to if required
* Frequency of creation of Edit History entry for Office attachments (minutes)
  * Controls how often a backup version will be created for an open document
* Number of days to retain Edit History for Office attachments :
  * Controls how long each backup version is to be retained for before being deleted as part of Overnight Processing

Where ‘Edit History’ is enabled, editing a document using Office for the Web will periodically create a ‘backup version’ of the document in accordance with the aforementioned Configure Application properties. A ‘View Edit History’ button will be available for use on the Overview page for an Attachment to enable a user to review the stored ‘backup versions’

From this window it will be possible to download, view or restore to the chosen backup version of the document.

For diagnostic purposes, an Admin - Configure Application setting of ‘Enable Office for the Web Tracing :’ has been added, defaulted to No. When enabled, diagnostic log messages will be written to the Server Log in relation to the Office for the Web functionality. It is recommended that this is kept set to No unless requested by the Empowered Support team.

To support this integration, the following JNDI properties have been added:

* \<Environment type="java.lang.String" name="TRC\_WOPI\_PRODUCTION" value=""
  * &#x20;This is used to control whether the Production endpoint for Microsoft communications is used or not. A value of “Yes” will use the Production endpoint, and “No” will not.&#x20;
* &#x20;\<Environment type="java.lang.String" name="TRC\_OFFICE\_HANDLER\_ENABLE\_SERVICE\_CHECK" value="“/>
  * This is used to control whether or not the availability of the service is checked before a document is opened using Office for the Web. A value of “Yes” will enable this check and “No” will disable the check.
* \<Environment type="java.lang.String" name="TRC\_OFFICE\_HANDLER\_URL" value="“/>
  * Where a value is provided, requests made as part of the Office for the Web functionality will be directed to this location.

{% hint style="info" %}
In order to use Office for the Web functionality, it is required for the organisation and user to hold an active M365 license that includes Microsoft 365 applications.

For the Office for the Web functionality, file size limits will be in place as part of the integration with Microsoft, depending on file type as detailed below. Files are also subject to a 60 second download time out that may affect larger documents, however in practice, this time out is unlikely to be hit.
{% endhint %}

| File Type        | Mode             | Limit                                                |
| ---------------- | ---------------- | ---------------------------------------------------- |
| Excel View 25 MB | Excel View 25 MB | 25 MB                                                |
| Excel View 25 MB | Excel Edit 25 MB | 25 MB                                                |
| PowerPoint       | View             | No file size limit but subject to 60 second time out |
| PowerPoint Edit  | PowerPoint Edit  | 300 MB                                               |
| Word             | View             | No file size limit but subject to 60 second time out |
| Word             | Edit             | 100 MB                                               |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.empoweredgrc.com/releasedocumentation/readme/2025-releases/25.1/new-features-and-platform-updates/office-for-the-web.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
