You need to sign in to do that
Don't have an account?

Create/Save/Email pdf from Lightning Web Component
I have been working on this for a while and keep hitting walls. I would like to create/save/email a list on a lighting web component as a PDF. I started by trying to use my VF page that renders as PDF but could not pass the data. I'm told that it will not work. I moved on to jspdf but found that I could not customize the table as much as I wanted. The last think I tried was to use jspdf-autotable. However, I keep getting an error " [t.autoTable is not a function] " Does anyone have any insight or maybe even an example they could share? thanks!!
Check below examples.
https://developer.salesforce.com/blogs/2019/07/display-pdf-files-with-lightning-web-components.html
https://developer.salesforce.com/forums/?id=9060G0000005WmhQAE
Thanks,