Collaboration
Let multiple users edit the same board and see each other's changes. Complete collaboration integration for the backend, authentication, permissions, and storage, then configure the license.
Configure and load a document
Add Collaboration Client configuration to your existing Boards editor using the Office quick start. That example uses Sheets; your backend must create and persist a Boards document and return its ID to the browser.
import '@univerjs-pro/boards/facade'import '@univerjs-pro/collaboration-client/facade'const document = await univerAPI.getCollaboration().loadBoardAsync('your-document-id')if (!document) throw new Error('Document could not be loaded')Use the same ID when reopening or sharing the document. Do not create a local blank document instead of loading the server document.
Verify synchronization and permissions
Open the same ID in two independent browser sessions. Edit text or move an element in one session and check the other. Verify that content survives page reloads, reconnections, and a service restart. Use viewer and unauthorized accounts to verify that the server rejects forbidden writes and reads.
Edit history and Import and export require separate configuration; collaboration does not enable them automatically.
How is this guide?