Try the fastest and simplest way to install ONLYOFFICE

Cannot Rename Document using OPENEDIT code

Integration questions/issues

Cannot Rename Document using OPENEDIT code

Postby stever » Thu Sep 13, 2018 7:40 pm

I really hope someone can help me. I'm using the cloud version of OnlyOffice and using the following code to edit a document. This code comes directly from the OPENEDIT web service. The document loads correctly and saves correctly. The problem I'm having is that one of the menu items is "RENAME". Clicking on it opens the rename popup. However, the file never gets renamed after renaming it and clicking on ok. What am I missing. Is there something else that needs to load in addition to this code on the web page?

Code: Select all
    <div id="placeholder"></div>
    <script type="text/javascript" src=""></script>
    <script type="text/javascript">
        new DocsAPI.DocEditor("placeholder", {
            "document": {
                "info": {
                    "author": "Me",
                    "created": "8/17/2018 7:44 AM"
                "permissions": {
                    "changeHistory": true,
                    "download": true,
                    "edit": true,
                    "print": true,
                    "rename": true,
                    "review": true
                "fileType": "docx",
                "key": "xxxxxxxxxxx",
                "title": "Test Document.docx",
                "url": ""
            "editorConfig": {
                "plugins": {
                    "pluginsData": [
                "customization": {
                    "customer": {
                        "logo": "",
                        "name": "Dude Solutions"
                    "logo": {
                        "image": "",
                        "url": ""
                    "about": true,
                    "feedback": {
                        "url": "",
                        "visible": true
                "user": {
                    "id": "12345678-1234-1234-1234-123456789",
                    "name": "Test Test"
                "lang": "en-US",
                "mode": "edit"
            "token": "xxxxxxxxx",
            "documentType": "text",
            "type": "external"
Posts: 1
Joined: Thu Sep 13, 2018 7:23 pm

Return to API

Who is online

Users browsing this forum: No registered users and 1 guest