For the complete documentation index, see llms.txt. This page is also available as Markdown.

Set Up WebViewer Server

This guide will show you how to get started with a free trial of the WebViewer Server by loading a Docker Linux container instance and using it to display WebViewer on a local HTTP server.

WebViewer server is primarily recommended for increased file format support and to enable server side rendering which can improve overall viewing performance on all platforms. This performance improvement is most noticeable on low end mobile devices and Internet Explorer.

Your free trial includes unlimited trial usage and support from solution engineers.

Set up the server

  1. The server sample uses Docker (version 2+) technology, which requires Windows 10, Windows Server 2016, or a Linux distribution. In theory, any system is sufficient as long as Docker can be installed.Install the appropriate package from https://docs.docker.com/engine/installation/

  2. Download the WebViewer Server package.

spinner
  1. Unpack the archive and navigate to its directory.

unzip WebViewer-Server.zip -d WebViewer-Server
cd WebViewer-Server
  1. Open the docker_compose.yml file in the root directory of the unpacked archive and set the TRN_PDFNET_KEY option to your license key (you do not need to set this property if you are demoing our software). If you are looking to allow WebViewer Server to do remote fetches, you should also tell it which values are allowed. The below example for TRN_ALLOWED_DOMAINS is set to * which allows all remote fetches.

  1. Run the command line from the unpacked archive:

sudo docker-compose up

You should be up and running at this point.

Accessing the demo

Once the server is running, the server demo app is accessible at:

WebViewer integration

Once the docker container running, then supply the webviewerServerURL and l license argument to your WebViewer upon startup:

Last updated

Was this helpful?