You need to sign in to do that
Don't have an account?
samita das 7
Sending vf page records as excel in mail attachement and schedule
Hi,
I have built a vf page that contains some dynamic columns . I want to send this report in mail but in excel format . This mail will be scheduled weekly.
I have refered certain blogs but then , the records are queried from database and then it is send. I want the vf page itself as it is but in excel format to be send as an attachment in mail. Please help!!
I have built a vf page that contains some dynamic columns . I want to send this report in mail but in excel format . This mail will be scheduled weekly.
I have refered certain blogs but then , the records are queried from database and then it is send. I want the vf page itself as it is but in excel format to be send as an attachment in mail. Please help!!
https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_email_templates_attachments.htm
You can change the render type for the attachments just like in your visualforce page like this example for PDF:
But then how will be Iable to schedule it ??