function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Ravikant Ravikant 10Ravikant Ravikant 10 

I have a requirement where we need to generate the PDF document in lightning on click of a custom button on a custom objects detail page and attach that PDF as attachment and send that PDF as attachment in email to the user via approval process

Hi,

I have a requirement where we need to generate the PDF document in lightning on click of a custom button on a custom objects detail page and attach that PDF as attachment and send that PDF as attachment in email to the user via approval process?

Kindly let me know how this can be done?

Thanks,
Ravikant