Visualforce email templates sample

by Rasmus Mencke on October 15, 2008 at 02:44 PM

Visualforce Email Templates Sample

In the Winter '09 release you can now take advantage of the new Visualforce Email Templates, which leverages the innovative Visualforce technology to also provide the underlying framework for email templates.

To see an example and learn how you can build Visualforce email templates visit the Developer Network and see the sample click here

TrackBack

TrackBack URL for this entry: http://www.typepad.com/services/trackback/6a00d8341cded353ef0105358da286970c

Listed below are links to weblogs that reference Visualforce email templates sample:

Comments

Posted by April Campbell on December 3, 2008 03:59 PM:

Thanks for the example. I used it to create an email template showing me all the Opportunity Products associated to an opportunity.

I do have one question. I have a custom field that is HTML, i want to display that HTML in my Visualforce email template, but instead of interpreting the HTML, it actually writes the HTML in the template. Is there a way around it? I can't seem to find the answer.
Thanks,
April

Posted by Reid Carlberg on December 18, 2008 05:29 PM:

Hey April --

What tag are you using to output the HTML? If you're using "" set the escape attribute to false.

Hope that helps.

Cheers,

Reid

Posted by Greg Glaser on February 13, 2009 03:24 PM:

Hi, April -

I'm about to go down the same path of adding Opportunity Product details (so glad we can do this now!)--would you be interested in sharing your code or the basic framework?

Greg

Posted by Jorge on October 14, 2009 05:09 PM:

Greg,

I'm also interested in getting the code for adding Opportunity product details to the VF template. Were you able to get your hands on the code?

Thanks!

Jorge

Posted by Elly Bockley on July 14, 2010 05:59 AM:

I created my first VF Email Template and all was fine in Sandbox. When I deployed it all to Production I get the following error:

Error occurred trying to load the template for preview: Collection size 1,393 exceeds maximum size of 1,000.. Please try editing your markup to correct the problem.

When I use the template it works fine. Should I be concerned?

The comments to this entry are closed.