Need dedicated support? Click here
Need dedicated support?
Click here

How to fetch document.key after/on file upload?

My team and I are building a simple application which allows a user to upload a file to our Only Office document server. We then want to use the Only Office react component to view the document at a later date. The react component requires document.key, which we’ve successfully found in the server’s cache, but we need a method of getting this ID via the react client.

Despite my team’s best effort, we’ve been unable to find the answer within the docs or forums. Does anyone have a recommendation or guidance on how to accomplish this?

Hello @hschroeder

Please see this thread with similar question for possible answer:

1 Like

Thank you!

1 Like