Modern document workflows require more than just viewing files—they demand seamless collaboration. With WebViewer, developers can add real-time commenting, user mentions, role-based permissions, and annotation support across PDFs, DOCX, XLSX, PPTX, images, videos, and more.
WebViewer provides APIs to export and import annotations as XFDF, making it easy to build collaborative experiences. While Apryse doesn’t provide a collaboration server, you can implement your own workflow using a backend, database, and real-time communication layer.
Listen for annotation events in WebViewer and sync changes to your server:
Each change can be exported as XFDF and stored alongside a unique document ID.
Your backend should:
Any database or ORM can be used, including SQLite, Firebase, or Prisma.
For a true collaborative experience, use WebSockets to notify users when annotations change.
The typical flow:
When a document opens, fetch all stored annotations for that document and import them into the viewer. This ensures every user sees the latest collaborative state.