The work with document files in ONLYOFFICE Docs is quite a simple process but it requires some understanding of what is going on when you click your document link to open it in the browser, save the document or upload it from your computer to the document server.
In this section you will learn how to:
The user-document interaction is done both at the client side and at the server side.
Below the main notions used throughout the current documentation are explained.
The client side includes:
The server side includes:
Please note, that ONLYOFFICE Docs includes the document editor, document editing service, document command service, document conversion service and document builder service. The document manager and document storage service are either included to ONLYOFFICE Workspace or must be implemented by the software integrators which use ONLYOFFICE Docs on their own server.
Starting from version 8.1, the shardkey parameter is added to the URL QueryString when sending requests to the document command service, document conversion service, or document builder service. It is also added to the browser-server interaction during the collaborative editing as the WOPISrc query parameter.
The key field is used as a value. For example, ?shardkey=Khirz6zTPdfd7. If there is no key in the body, you do not have to send it (for example, in the getForgottenList command).
This is a recommendation when working with an editor server cluster to load balance requests during the collaborative editing: all users editing the same document are served by the same server.