Frameworks
Integrations
Mendix
SharePoint
Default UI
Modular UI
AnnotationManager
Annotation Types
Customize
Version 11
Version 10
v10.12
v10.11
v10.10
v10.9
v10.8
v10.7
v10.6
v10.5
v10.4
v10.3
v10.2
v10.1
v10.0
Version 8
v8.12
v8.11
v8.10
v8.9
v8.8
v8.7
v8.6
v8.5
v8.4
v8.3
v8.2
v8.1
v8.0
Version 7
Version 6
v6.3
v6.2
v6.1
v6.0
Version 5
Version 4
Version 3
Version 2
WebViewer Server
WebViewer BIM
This guide will show you how to integrate WebViewer Document Viewer & Editor into an Electron desktop application.
You can watch a step-by-step video to help you get started.
You can also download a ready-to-go sample on GitHub.
Prior to starting, you should have already installed Node and npm.
electron.js
documentation.Apryse collects some data regarding your usage of the SDK for product improvement.
If you wish to continue without data collection, contact us and we will email you a no-tracking trial key for you to get started.
Clone the webviewer-electron-sample
repository:
Enter the directory and run npm install
:
This will automatically download and extract the Apryse WebViewer Package.
To run the sample, make sure you are in the webviewer-electron-sample
directory and execute
You should see the application start up. It will load the WebViewer and display the PDF sample in /public/files
:
If you run into issues with installing and/or running the application, please return and ensure you have the prerequisites installed.
To call more WebViewer APIs, open /src/App.js
in your favorite text editor and add the API calls to the callback for the WebViewer instantiation. Add your own license key in place of 'YOUR_LICENSE_KEY'.:
For example, if you want to change the theme of the WebViewer to dark mode, you would add the following:
Execute npm start
again and the theme of the viewer will change:
Network Failure More information about fixing the Network Failure
issue on WebViewer.
Did you find this helpful?
Trial setup questions?
Ask experts on DiscordNeed other help?
Contact SupportPricing or product questions?
Contact Sales