We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
Saif Lajmi
2 years 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 ca...
Greg-DB
Dropbox Community Moderator
2 years agoTo 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 Lajmi2 years 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 & API
Make connections with other developers
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!