• Kong
  • NEWBIE
  • 0 Points
  • Member since 2013

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies

I am experimenting with Visualforce email templates.

1.) Is there a way to run a query for a list of open Leads that belongs to a specific campaign?
2.) Can I then have the results render as a csv?


Essentially I would like something similar to this,
http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_messaging_emailTemplate.htm
but want it to display information for Lead instead of Account.

Thank you in advance for any help.

  • March 18, 2013
  • Like
  • 0