Author Archives: JustinJ

Creating a Realtime PDF Annotation and Commenting System

Viewing a PDF directly in a web app is steadily becoming mainstream. PDFTron’s WebViewer, the leading, most reliable javascript PDF viewer, is now powering hundreds of apps around the web.

After viewing, the next step for many apps is enabling users to annotate the PDFs and communicate about them in real time, directly in the browser. WebViewer has indeed always supported this, because by importing and exporting annotations and comments using the standard PDF XML comment format, annotations can be instantly synchronized between users.

In this tutorial, we will step you through this process by

  • Setting up a new WebViewer instance
  • Synchronizing annotations between the clients and a server
  • Authenticating users, and enforcing permissions

Continue reading