+ Start a Discussion

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!!
VinayVinay (Salesforce Developers) 
Hi Fredka,

Check below examples.


Thanks for responding but these links really don't apply to what I am trying to do.  The first link is about displaying already created PDF's.  The second example is using Aura and not LWC's.  Thanks again for the input!