Collabora Productjvity
FOSDEM 2020
Integrate Collabora Online with Web Applicatjons
andras.tjmar@collabora.com @tjmar +tjmar74
By Andras Timar
Collabora Productjvity
Integrate Collabora Online with Web Applicatjons Collabora - - PowerPoint PPT Presentation
FOSDEM 2020 Integrate Collabora Online with Web Applicatjons Collabora Productjvity By Andras Timar Collabora Productjvity andras.tjmar@collabora.com @tjmar +tjmar74 C Collabora Online Uses LibreOffjce/Collabora Offjce under the hood for
Collabora Productjvity
FOSDEM 2020
andras.tjmar@collabora.com @tjmar +tjmar74
By Andras Timar
Collabora Productjvity
C
collabora online . com
C
collabora online . com
Or maybe you have an additjonal need before you are completely happy with Online in your webapp?
C
collabora online . com
Alfresco connector available thanks to Arawa
has implemented support for monitoring the loolwsd health
to one central place that collects the state
C
collabora online . com
Connector available thanks to eGroupware from their repository
we have
C
collabora online . com
Connector available thanks to Kolab themselves.
to expose various functjonality via postMessage
from the master view, downloading or printjng
C
collabora online . com
Connector writuen by Florin Ciornei (Collabora)
can be opened from the chat in a popup editjng window
C
collabora online . com
Plugin to add a live document editor to the Moodle e-learning course
have “in-class collaboratjon”
C
collabora online . com
Connector originally developed by Collabora, but now with features from Nextcloud
needs, like:
some features or not
C
collabora online . com
Originally implemented by Collabora, now with features from ownCloud.
we are improving Watermarking substantjally
can have a difgerent, dedicated watermark
C
collabora online . com
Available thanks to Pydio
had to extend what characters can be used in the access_token
C
collabora online . com
Connector implemented by SofuDistributjon
to improve Save as and full-screen handling
C
collabora online . com
Iframe with OnLine editor Webapp integrating the Online WOPI-like host (provides data) WOPI-like client (provides editing)
htups://wopi.readthedocs.org/en/latest/
C
collabora online . com
To download the fjle:
Upload back:
access_token=<token> CheckFileInfo to provide informatjon about the fjle:
C
collabora online . com
To be able to access fjles securely, an authentjcatjon token has to be passed to the Online
passed as part of the URL when accessing the document storage Should be generated according to the user who is logged in + the document
element in the list) as the token
C
collabora online . com
The Connector connects to the discovery service
access to a “discovery” xml
Then create the iframe that contains the Online
C
collabora online . com
message.
HTML page:
<form actjon="WOPISrc=htups://<WOPI host URL>/<...>/wopi/fjles/<id>" enctype="multjpart/form-data" method="post"> <input name="access_token" value="test" type="hidden"/> <input type="submit" value="Load Collabora Online"/> </form></body></html>
C
collabora online . com
Sometjmes the functjonality is too specifjc to the integratjon via postMessage
C
collabora online . com
For signalling from the iframe back to the parent frame.
with Status “Frame_Ready”. When that happens, the parent has to send Host_PostmessageReady.
id of the butuon.
C
collabora online . com
Most of them were added thanks to a customer request:
possible to do an "internal" cut/copy/paste.
integratjon must provide the user with appropriate message when it gets Session_Closed or User_Idle postMessage's.
because it cannot rely on browser's support for downloading.
{ Type: 'print'|'slideshow'|'export', URL: ...url you use for the actual downloading... }
protocol.txt)
CSP, otherwise it will show as broken images.
C
collabora online . com
We will help you when you have any specifjc needs
Additjonal examples not covered in the previous slides:
IsModifjedByUser
C
collabora online . com
Client needed a betuer rendering of PDF’s, Collabora implemented it:
C
collabora online . com
Now the integratjons can create new documents from templates too
CheckFileInfo
fjle is created from the TemplateSource template, and saved into the ID /hostjng/capabilites – similar to /hostjng/discovery created to inform if TemplateSource is available (and other useful things)
functjonality is available
Collabora Productivity
By Andras Timar
andras.tjmar@collabora.com @tjmar +tjmar74