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
Standa Fy
3 months agoExplorer | Level 4
Using Dropbox embedder in Angular application
Hi, I am trying to use the Dropbox embedder in a Angular application in component. I used the https://www.dropbox.com/developers/embedder documentation as starting point but when using the anchor ta...
- 3 months ago
Standa Fy wrote:... but when using the anchor tag approach the element is not rendered though I see that the dropbox script is loaded.
...Hi Standa Fy,
You're making a conceptual mistake here. Let's recall - Dropbox check anchors on page load time. On other side Angulag is dynamic environment - i.e. all content (including your anchors) is loaded after page load! In other words - When Dropbox tries to find some place to load Embedder, it's not there yet. 😉 That's it. So you need to load Embedder in dynamic way (also described in documentation), so it will be compatible.
Hope this helps.
Здравко
3 months agoLegendary | Level 20
Standa Fy wrote:... but when using the anchor tag approach the element is not rendered though I see that the dropbox script is loaded.
...
Hi Standa Fy,
You're making a conceptual mistake here. Let's recall - Dropbox check anchors on page load time. On other side Angulag is dynamic environment - i.e. all content (including your anchors) is loaded after page load! In other words - When Dropbox tries to find some place to load Embedder, it's not there yet. 😉 That's it. So you need to load Embedder in dynamic way (also described in documentation), so it will be compatible.
Hope this helps.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,882 PostsLatest Activity: 3 years 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!