Servoy PDF Viewer

Welcome to svyPDFViewer!

This wiki provides comprehensive documentation for using the svyPDFViewer web-component, which makes viewing PDF documents in Servoy's NGClient easy and intuitive.

Content under construction

Getting Started

It's easy to get started. Simply import the web package via Servoy's Web Package Manager.

If you like to see a sample, install the example solution, [svyPDFViewerExample.servoy] (

Example Usage

Load document using absolute URL

elements.pdfViewer.documentURL = '';

Load document using URL which is relative to the web application's root context. For example:

  • http://my-host:8080/myApplication/reports/test.pdf - this would be in production server

  • http://localhost:8080/reports/test.pdf - this would be in developer

elements.pdfViewer.documentURL = 'reports/test.pdf'; 

Servoy PDF Viewer properties

Servoy PDF Viewer properties can be found here.


Reloads the document. Use in combination with noCache. Call this method when document has changed on the server.


Indicates if caching should be disabled. Set to true when PDF might change on the server.


The URL of the PDF document. Can be absolute or relative.

Servoy PDF Viewer API

Servoy PDF Viewer API methods can be found here.

Last updated