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
Jyothi HJyothi H 

button to send an email with attachment that is automatically generated Excel which containing all records from custom object

Hi,

I am new to SFDC, i have a task that i will have one text box where user enters emailid and button below that, upon clicking of that button, the email should be sent to the email which the user has enetered along with the attachment. But, the attachment needs to be dynamically generated by taking all the records from custom objects and attach it in excel format.

Any help in doing is apprciated. Thank you.