Can you actively call the save method to let OnlyOffice save the changes? If so, how do you call it?

I want to actively call the save method to save the edited document in OnlyOffice, but I don’t know which method to use, nor do I know how to use it. I haven’t seen a specific usage method in your company’s documents. Could someone kindly help me solve this problem? Thank you!

Hello @anyiya,
The document is saved when all users disconnect from the editing session. You can send a drop command to the command service to trigger the saving process: drop | ONLYOFFICE
You can also check out this command as an alternative: forcesave | ONLYOFFICE (it saves the changes, but does not finish the editing session)

Hello @DmitriiV
Thank you for your answer!

1 Like