External viewer
This module replaces the browser viewer with a third-party viewer, for some file extensions or for all of them.
Any then no longer displays the document itself: it builds a URL to the viewer and passes it the needed context.
External viewer URL: URL to reach the third-party viewer.
For instance:
https://<hostname>:<port>/<viewer_app>?ticket=${TICKET(multi, 1 hour)}
&application=${APPLICATION}&id=${id}&locationId=${locationId}&eventName=${eventName}
&filename=${filename}&attachmentId=${attachmentId}&format=${format}
&mimetype=${mimetype}&downloadUrl=${downloadUrl}
&name=${core.name}&rootId=${core.root_id}&stream=false
The ${TICKET(...)} wildcard produces a single-use authentication ticket. multi makes it
reusable, and the validity period is written "number unit", the unit being in English:
second, minute, hour, day, week, month or year. With no parameter, ${TICKET()} uses
the default values.
The conditions under which the external viewer is used can be configured in the "Preview" flow, in the flows of the general settings section.
Flows
This module can be used in the following flow: