You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
Nihad1
6 months agoExplorer | Level 4
Load files inside same i frame
Question: "I'm working on integrating Dropbox into my web application using the Dropbox Drop-ins library. Currently, I'm able to load a folder from Dropbox using the Chooser, but I'm facing an issue. When a user selects a file from the folder, it opens in a new tab with the Dropbox website. However, I want the selected file to open within the same iframe where the folder is loaded. How can I achieve this behavior?"
Context: I'm using the Dropbox Drop-ins library to allow users to select files from their Dropbox account and interact with them within my web application. While the initial folder selection works smoothly, I'm struggling to handle file selection events and load the selected file within the same iframe.
Desired Outcome: I want to ensure a seamless user experience where selected files from Dropbox open within the same iframe, avoiding the need for users to navigate away from my application.
Nihad1 wrote:... When a user selects a file from the folder, it opens in a new tab with the Dropbox website. However, I want the selected file to open within the same iframe where the folder is loaded. How can I achieve this behavior?" ...
Hi Nihad1,
Actually you cannot open directory in such a way (on your own iframe). Dropbox won't let you. Most probably you're using Dropbox Embedder.
Your actual question refers to an ongoing bug. It's good that more people (including you now) signal for this bug and let's hope it will be fixed soon. This bug resides for a while already and Dropbox team seems not too much engaged with though. Let's hope this will change.
Good luck to all of us.
- Nihad1Explorer | Level 4
Thanks for your attention to this matter
- ЗдравкоLegendary | Level 20
Nihad1 wrote:... When a user selects a file from the folder, it opens in a new tab with the Dropbox website. However, I want the selected file to open within the same iframe where the folder is loaded. How can I achieve this behavior?" ...
Hi Nihad1,
Actually you cannot open directory in such a way (on your own iframe). Dropbox won't let you. Most probably you're using Dropbox Embedder.
Your actual question refers to an ongoing bug. It's good that more people (including you now) signal for this bug and let's hope it will be fixed soon. This bug resides for a while already and Dropbox team seems not too much engaged with though. Let's hope this will change.
Good luck to all of us.
About Discuss Dropbox Developer & API
Make connections with other developers
795 PostsLatest Activity: 21 hours agoIf 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!