Cut the Clutter: Test Ignore Files Feature - sign up to become a beta tester  here!

Forum Discussion

uknickwilliams's avatar
uknickwilliams
Explorer | Level 3
4 years ago

Saver API - Include link on success callback

Is it possible for the url to the uploaded file(s) to be captured in someway using the saver API.

The desired workflow in my application is
1) User generates a new document within my app
2) Saver UI launches (with a default filename set using data-filename)
3) User clicks save on Saver API
4) My app launches the preview of the saved file in Dropbox in a new tab.

Is there any way to achieve this?

Theoretically, I can open a page which matches the expected filename like: https://www.dropbox.com/home/some-folder?preview=my-doc.docx

But this would fail if the user selects a different folder in the Saver UI. I'm also not sure if that URL is stable as the equivalent link created from 'Copy Link' in the Dropbox UI is quite different.

IMHO - ideally an object containing information about the downloaded files would be passes to the success callback.

1 Reply

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    4 years ago

    No, unfortunately there isn't a way to have the Dropbox Saver return the file metadata or link like this, or other way to directly identify the saved file(s), but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.

About Discuss Dropbox Developer & API

Node avatar for Discuss Dropbox Developer & API
Make connections with other developers815 PostsLatest Activity: 2 days ago
277 Following

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!