Hi, I'm building a tool to generate a pdf based on the info I insert in either a table of textboxes, so I can download/print/email the pdf to my customer. How can I make it happen?
Hi @JasonYu
You can use the Retool PDF Export resource, or design a custom UI with a custom component that meets your specific requirements and utilize a PDF library like jsPDF to generate the PDF file.
The external blog post linked here may be helpful as well! Use PDF Exporter to print content of table - #2 by rferland
HI @ZeroCodez
thank you for the reply, where can i find Retool PDF Export resource? I don't see it in the resource page.
Hey @JasonYu,
It's a query type that comes with Retool by default. It won't show up on the Resources tab, but it should be an option if you create a new query:
Hi Tess,
The attached screenshot is the pdf template that I need to have, it's for generating an invoice to my customer when a sale is made. If it possible to make something like this happen using the pdf exporter?
Looking at the PDF exporter, i don't see how it can adjust the position of all the contents in the pdf file.
Thanks for the screenshot! I don't think the PDF exporter has enough flexibility to work for that use case. I'd recommend exploring a custom solution as documented in that blog post (using an external api, creating the pdf with retool components & then downloading the Retool page, custom component, etc)