Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
Saif Lajmi
1 year agoExplorer | Level 4
Render the content of dropbox file inside my web app
how i can use api dropbox to render the pdf file inside my nextjs app using typscript i follow this github scripts https://github.com/dropbox/dropbox-sdk-js/ but i don't find any example about how can render dropbox file inside may nextjs app , i find upload and files listes function only ..??
2 Replies
- Greg-DB1 year ago
Dropbox Community Moderator
To download a file using the JavaScript SDK, you would use the filesDownload method.
There's an example of using a content download method like this in TypeScript with this SDK here. That example happens to use sharingGetSharedLinkFile instead of filesDownload, but they work the same way to access the returned data; you would use a "path" parameter for filesDownload instead of "url" though.
- Saif Lajmi1 year agoExplorer | Level 4
Thank you very much. Okay, I will try to implement it inside my NextJS app, and we will see.
About Discuss Dropbox Developer and API
Explore Dropbox Developer & API discussions with developers like you.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If 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, Facebook or Instagram.
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!