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
rsajjarsajja 

Sending Email with Dashboard.

Hi All -

I have a Job that sends an email using SingleEmailMessage when certain conditions are met. I would like to enhance this email by including a snapshot of a dashboard to it.

Is there a way to achive this functionality, can anyone help?
SandhyaSandhya (Salesforce Developers) 
Hi,

We cannot include Dashboard components in Visualforce Email templates.This idea has been voted.

https://success.salesforce.com/ideaView?id=08730000000BpU4AAK
 
But if you want to send dashboard as an email you need to schedule the reports.

Please refer below link.

https://success.salesforce.com/answers?id=90630000000grr8AAA
 
https://help.salesforce.com/HTViewSolution?id=000006129&language=en_US

Hope this helps you!

Please mark it as Best Answer if my reply was helpful. It will make it available for other as the proper solution.
 
Thanks and Regards
Sandhya