Syncfusion Collaborator
7 Sep 20263 minutes to read
The Syncfusion Collaborator is a real-time collaboration framework that enables multiple users to edit content simultaneously in EJ2 components such as DOCX Editor, PDF Viewer, and Spreadsheet.
The Collaborator consists of:
-
Collaboration Client can be integrated into the EJ2 component.
-
Collaboration Server available for ASP.NET Core, ASP.NET MVC, and Node.js.
Both client and server are built on a shared, control-agnostic common collaborator framework, enabling the same collaboration infrastructure to be reused across supported EJ2 components.
Key Features
-
Real-time collaborative editing with automatic synchronization across multiple users.
-
Support for both SignalR and WebSocket communication.
-
Scalable architecture with Redis support for multi-server deployments.
-
Reusable collaboration framework for DOCX Editor, PDF Viewer, and Spreadsheet.
How the Collaborator Works
-
A user opens content in an EJ2 component configured with the Collaboration Client and joins a collaboration session.
-
User actions are sent to the Collaboration Server in real time.
-
The server processes and synchronizes those actions with all connected participants.
-
Other users receive the updates and their content is refreshed automatically.
-
Changes are periodically persisted to ensure the latest version is available to all participants.
Collaboration Packages
The Syncfusion Collaborator is available as client and server packages. Install the client package in your application and choose the appropriate server package based on your hosting platform.
| Package | Description |
|---|---|
| @syncfusion/ej2-collaborator | JavaScript/TypeScript client library for collaborative editing in EJ2 components such as DOCX Editor, PDF Viewer, and Spreadsheet. |
| Syncfusion.Collaborator.Server | Collaboration server for ASP.NET Core and ASP.NET MVC that synchronizes edits, manages collaboration sessions, and broadcasts updates between connected users. |
| ej2-collaborator-server | Node.js-based collaboration server for JavaScript and TypeScript applications. |
Note: The Node.js Collaboration Server currently supports PDF Viewer collaborative editing only. DOCX Editor and Spreadsheet require the ASP.NET-based web service implementation for document processing, operation transformation, and save operations.
Prerequisites
-
A Redis instance reachable from the server
-
One of the supported server runtimes:
-
.NET 8/9/10 SDK (for ASP.NET Core)
-
.NET Framework 4.6.2 ASP.NET MVC 5 (for ASP.NET MVC)
-
Node.js 18 or later (for Node.js)
-