Docs state that with editor mode id is needed for the file to open. How would I create a new file ?
When I pass null as an id it opens the default ui, when I pass in an existing id it says I have no access to the room.
How do I create a new file and show the editor directly when calling DocSpace.SDK.initManager ?
Not sure what step by step scenario you mean ?
I want to click a button on my page “New Spreadhseet” and it should create a new spreadsheet I can edit.
Please share some information about product that you are using. The category is set to Docs API, but you’ve initially mentioned some DocSpace methods - which product are you using and what exactly you want to achieve with the product?
As you can see from the code and prior messages it is docspace.
To add info, the code I posted indeed DOES create the file, however it does not return the file id, so I can’t open the created file
Please read the history ! You reply and the link is NOT creating a new file.
I posted my code which is a copy of what Roman posted and as I mentioned and provided a screenshot, the createFile does NOT return the data in the example. It creates the file but does NOT return the file id
If you don’t mind, I will join this thread as well. @joer00 we need some time to check out the described scenario, I will contact you as soon as possible.
Dear @joer00
Please clarify if the file doesn’t open for editing in your scenario. Do I understand correctly that the editor attempts to open a new file but without any result? Do you get any errors in the browser? Also, please confirm that the file is created on the portal in this scenario.
The response as of your documents should have the id of the created file. However the response returns just an object with a selected Folder property, I attach it again here:
Dear @joer00
Thank you for the provided data! We have found a bug in the described scenario, and we have started working on it. I will update this thread once we have something to share.