Samples
The following examples will show you how to use ONLYOFFICE DocSpace SDK based on JavaScript to integrate ONLYOFFICE DocSpace into your own web application, allowing users to create and submit documents directly from your website.
📄️
Attach files
Attaches files to a website using File selector.
📄️
Authorization
Logs in to the DocSpace account using the specified email and password hash.
📄️
Create file in selected folder
Creates a file in the selected folder and opens it in the editors.
📄️
Customize editors
Customizes the editor interface so that it looks like your other products (if there are any), and changes the presence or absence of the additional buttons, links, logos and editor owner details.
📄️
Open file in ONLYOFFICE editors
Opens a file in ONLYOFFICE editors using the file selector.