Online Office Integration

Overview

End-users will have the ability to edit office documents from an Appian interface and store a new version of the document in Appian after saving the document.

Key Features & Functionality

You can use the Web Application Open Platform Interface (WOPI) protocol to integrate Office for the web with your application. The WOPI protocol enables Office for the web to access and change files that are stored in your Appian instance.

To integrate your Appian application with Office for the web, you need to have the following:

The sample application included in the download package showcases how this plug-in can be used. The function getembeddedofficeurl() can be used to generate a url which can be used in the Web Content Field.

The sample application also includes the following API's which are needed to embed office into an Appian application:

Anonymous
Parents Comment Children
  • You can find more information on the error in the ULS logs of OOS2019 which are located here if you used the default install location: C:\ProgramData\Microsoft\OfficeWebApps\Data\Logs\ULS

    There is a nice utility called ulsviewer which you can use to monitor the logging of OOS2019 and where you can filter on the sessionId which the browser is showing. It could be that on the OOS side you need to allow incoming and outgoing traffic.

  • No errors with the appian API, the response is:{"BaseFileName":"DOCX_EXAMPLE.docx","OwnerId":"momen.salameh","Size":0,"Version":"1","UserCanWrite":true,"IsAnonymousUser":true,"LicenseCheckForEditIsEnabled":true,"UserId":"Anonymous","UserFriendlyName":"Anonymous","LastModifiedTime":"2021-11-03T11:06:57Z"}

    I'm using Office Online Server 2019 on-premises.