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:
Hi Ravichandran, the document will be send to Collabora in binary format, and will be cached on the Collabora server.
See this diagram how the WOPI protocol works:
Hi Mark, One general question, Will the documents be sent over to Collabora to enable the online viewer option in Appian?
Hi markansinkWe have a requirement to embed excel on the Appian UI and this Plugin seems to be useful for us. However, we are getting below error
I know this might be a silly question , can you please let us know how can we get WOPI Client URL??
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.
What is the error you get when you call the Appian API(https://<appianinstance>.appiancloud.com/suite/webapi/wopi/files/<docIDd>/contents) from postman or something similar? And which Office are you using?
Hello Mr. Mark Ansink,
I'm facing the same issue above, also when I call the API using the my API key I receive the response,
Can you please help me with this issue!
Thanks in advanced.