We Want to Hear From You! What Do You Want to See on the Community? Tell us here!
Forum Discussion
777guru
3 years agoNew member | Level 2
Javascript - One button which does something like html2pdf then upload to dropbox
Ideally I would like a setting page to contain the dropbox usr pw details so that once entered, the end user of the web app does not need to enter them. Is there a code solution for a single button which generates a pdf of the html page and then sends it to dropbox? Icing on the cake would be the ability to put the date and a field from the form as the file name.
Thanks in advance!
1 Reply
- Greg-DB3 years ago
Dropbox Community Moderator
Dropbox offers the Dropbox Saver, which can be used to save file(s) from a web app to the end-user's Dropbox account. You can find information on using that here. It does not offer a way to convert an HTML page to a PDF file though. The web app would need to produce and supply the particular file data it wants to offer to the user.
Alternatively, if the Dropbox Saver isn't sufficient for your use case, you can use the Dropbox API, which offers more functionality, to build your own custom integration. That would require more work though. You can find information on the Dropbox API here.
Either way, the third party app should never be handling Dropbox user credentials (such as username and password).
About Discuss Dropbox Developer & API
Make connections with other developers814 PostsLatest Activity: 3 days ago
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 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!