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.

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: 

How to implement "View on Dropbox.com" in a web app?

How to implement "View on Dropbox.com" in a web app?

alitvinenko
Explorer | Level 3

Hello!

 

We are developing a web app that creates files in the "App" folder of the customers' Dropbox account. Is there a way for us to create a link that we could display on our UI, which would preview this file in Dropbox web app or highlight it in its parent folder (again on Dropbox web app)?

 

In other words:

1. we have a web app with "App folder" permission

2. our app generates a file in the App folder "test.csv"

3. Dropbox API only tells us that it is a "test.csv" file (we don't know the name of the parent folder; or info about private vs work account)

4. how can we get a URL like: https://www.dropbox.com/personal/Apps/Import2%20Wizard?select=test.csv or https://www.dropbox.com/preview/Apps/Import2%20Wizard/test.csv?role=personal so that customers could directly navigate to this file in their Dropbox account?

 

P.s. we know about the option to create a shareable link to the file, but we wouldn't want to create a link on behalf of the customer that could leak and give access to the file.

 

1 Reply 1

Greg-DB
Dropbox Staff

No, unfortunately the Dropbox API doesn't offer a way to get the private Dropbox web site URL for a file or folder like this, 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?