After the react project integrates the onlyoffice editor, how can I use an upload file button on the web side to upload the document to the server, and then open it for editing in the editor?
The key question is: How to upload files to the onlyoffice server in the react project, or how to upload documents in the react project?
thank you for your reply,and I want to ask some question:
“Build a document management and storage system by yourself” means that you need to create a back-end interface to store the uploaded files through the back-end database, and then use the uploaded document link to open or control the saved file through the document editor. ? Or does it refer to the deployed documentServerUrl?
Because I want to use react to make an interface similar to this, but I don’t know how to use onlyoffice implement the process of uploading->getting the file list->editing one of the documents.
In addition, can the document.url of the document editor link to documents that are not onlyoffice? For example: http://xxxxxxx/12.pdf
Hello,
The integration is possible only by using callbackurl. You can check out the specific language integration examples here to see how the integration should be implemented: Language-specific examples - ONLYOFFICE Api Documentation