In many document processes, a streamlined collaboration workflow enables an enormous productivity gains. In today's modern structures and specifically and remote work setups, collaboration processes are required to keep and increase productivity.
There are many commercial "out-of-the-box" tools and services to share documents. But integrating document review and approval workflows directly into your applications helps to streamline those processes and to keep your data in your own infrastructure.
Using TX Text Control and the DocumentViewer, documents can be shared across platforms and browsers. The DocumentViewer can be used to:
- Share documents
- Complete form fields
- Request signatures
- Add annotations
The sample in this article uses this new event and SignalR to synchronize annotations and annotation changes with other users.
Comments are also synchronized automatically when adding them to the annotations:
The sample implements a very simple class AnnotationSync that is shared with all connected users in the SignalR Hub:
Finally, the event annotationsChanged is used to export the annotations in order to invoke the server-side synchronization:
You can test this on your own by downloading the sample form our GitHub repository.