I am currently evaluating the integration of our application with ONLYOFFICE Community Edition using the WOPI protocol. Our backend implements the WOPI APIs, and ONLYOFFICE communicates with our application through these endpoints.
During testing, we encountered two issues and would appreciate your guidance:
- PutFile / PutContent invocation timing
According to the documentation, ONLYOFFICE calls the WOPI PutFile (PutContent) endpoint when all users leave the editing session and the document is ready to be saved.
However, this behavior makes it difficult for our users to know when their changes have actually been persisted to our backend. We would like users to be able to explicitly save their changes instead of waiting until the editing session is closed.
Could you please clarify:
-
Under what conditions does ONLYOFFICE call the PutFile/PutContent endpoint?
-
Is there a way to trigger PutFile/PutContent immediately when a user clicks “Save”?
-
Is there a recommended approach for implementing manual save functionality when using WOPI with ONLYOFFICE Community Edition?
- View mode warning message
When opening a Word document in view mode, ONLYOFFICE always displays the following warning message:
“The file is opened in view mode. The file is locked for editing or your access rights do not allow editing.”
In our case, the document is intentionally opened in read-only mode, so this warning may confuse users because there is no actual error.
Could you please clarify:
-
Is it possible to hide or disable this warning message?
-
Is this behavior specific to Community Edition, or does it also occur in Enterprise and Developer Editions?
-
Are there any configuration options or customization methods available to suppress this notification?
We would appreciate any recommendations or best practices regarding these topics.