Try the fastest and simplest way to install ONLYOFFICE

Ask document saved location

Integration questions/issues

Ask document saved location

Postby christbiz » Thu Nov 01, 2018 2:26 am

Hi, i'm using the OnlyOffice cloud service with document server. And i use docker to install. I found that saved document on /var/lib/onlyoffice/documentserver/App_data/cache/files

There's something i want to ask :
1. The folder is based on document key : ABC-1234_9292
What is 9292? Where the number come from?
2. What if i want change the location?
"editorConfig": {
"callbackUrl": "http://example.com/this-is-callback.php",
"createUrl": "http://example.com/location/folder/",
"user": {
"id": "78e1e841",
"name": "John Smith"
}
}
I have put the createUrl and it doesn't work.

Thank you in advance.
christbiz
 
Posts: 1
Joined: Thu Nov 01, 2018 2:19 am

Re: Ask document saved location

Postby Maxim » Thu Nov 01, 2018 7:38 am

Hello christbiz!
Document Server is not supposed to keep files or documents. It is not a storage for documents. You need to use your own Document Manager and integrate it with the Document Server. Please visit our API to know more.
I found that saved document on /var/lib/onlyoffice/documentserver/App_data/cache/files

Documents Server before collecting a file into a "ready-to-save" version has to keep data in its cache and this path is for cache files.
Where the number come from?

You need to generate document key using your Document Manager.
What if i want change the location?

See here
Maxim
 
Posts: 1747
Joined: Tue Oct 11, 2016 2:34 pm


Return to API

Who is online

Users browsing this forum: No registered users and 2 guests