cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

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

Re: Sharing files from chooser

Sharing files from chooser

Infarch
Explorer | Level 4
Go to solution

Hi All!

I need an unusual feature on my site. Users can upload files from Dropbox using the Chooser. After uploading these files should be sometimes compared to their originals in Dropbox and conditionally updated. As I understand, I need shared links to files for that. Is it possible to get shared links from Chooser? Or may be generate them automatically by JS on the same page? I do not want to enforce users to generate shared links for each file separately: they will not be happy! Is there any solution?

 

1 Accepted Solution

Accepted Solutions

Greg-DB
Dropbox Staff
Go to solution

If you implement the Dropbox Chooser on your web site and use the "preview" link type, the Chooser will return a shared link for each file selected by the user. 

As long as the user doesn't delete the file or revoke the link, a shared link will stay valid so your app can recheck it for changes occasionally without further manual user interaction.

If you need a deeper integration than that though, you'd need to use the Dropbox API instead.

View solution in original post

2 Replies 2

Greg-DB
Dropbox Staff
Go to solution

If you implement the Dropbox Chooser on your web site and use the "preview" link type, the Chooser will return a shared link for each file selected by the user. 

As long as the user doesn't delete the file or revoke the link, a shared link will stay valid so your app can recheck it for changes occasionally without further manual user interaction.

If you need a deeper integration than that though, you'd need to use the Dropbox API instead.

Infarch
Explorer | Level 4
Go to solution

That really works! Thank you a lot!

Need more support?