Collaborative Editing
Filez Document Platform supports multiple users collaboratively editing the same file. When business systems call the Document Platform's online editing service, they need to specify the document ID. When multiple users of the business system call the Document Platform's online editing service, as long as the docId (document ID) passed when the business system calls the Document Platform's online editing service is the same, multiple users automatically enter multi-user collaborative editing.
When users edit online, any changes made locally will be sent to the platform server. The platform server will automatically forward the changes to the online editing pages of all users participating in collaborative editing. Each user can see other users' changes in real-time.
When multiple users collaboratively edit the same document, each user's changes will be sent to the platform server in real-time. The platform server will perform conflict detection on these changes and return the conflict-resolved changes to all participants. This ensures that all participants see the same content in the online editing page.
After user A uploads a new version of the file in the business system, as long as the business system returns correct modified_at in meta, they can edit the newly uploaded file online. However, if another user B is currently editing this file, or user A is currently editing this file, user A's new request for online editing service (new browser page) will not edit the newly uploaded file. Instead, it will edit the file version being edited by other users (or themselves). This is because during collaborative editing, all users can only edit on the same version. Otherwise, editing and saving will cause version overwriting.