@KLP and the Bold Tech team just made this neat tutorial on how to make PDFs in Retool and wanted to share. I know @bradlymathews also has one on carbone.io for generating reports. You can find his here: How to Print a PDF?
Here is the gist if you don't have time to read it (the tutorial goes in-depth for all of these)
- Within Retool, you can use the resource query option, ‘PDF Exporter’, to make PDFs using Markdown. The PDFs can be downloaded directly to your PC, but it isn’t possible to generate unique file names, and, as it does not allow for HTML, formatting can be an issue.
- An external API for PDF generation (such as APITemplate) can help you to overcome the drawbacks of the first two methods, if what you are looking for is more elaborate formatting capabilities and the ability to easily reference your Retool data in the PDFs (which is likely). It requires more steps to set up than the above two methods, but those steps are fairly straightforward and the benefit is getting a PDF that looks the way you want and includes the data you need.
You can read the full tutorial here: https://www.boldtech.dev/posts/creating-pdfs-in-retool
Let us know if there is a way that we should add or if you have any questions!