cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to know what we learned at IBC? Check out our learnings on media, remote working and more right here.

Discuss Dropbox Developer & API

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Saver API - Include link on success callback

Saver API - Include link on success callback

uknickwilliams
Explorer | Level 3
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 1

Greg-DB
Dropbox Staff

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.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?