- Home
- Technical Library
- Partners
- Blog
- Ideas
- Code Share
-
Discussion Boards
- Announcements
- General Development
- New to Cloud Development
- Apex Code Development
- Visualforce Development
- Formulas & Validation Rules Discussion
- Security
- Force.com Sites
- Chatter Development
- Java Development
- .NET Development
- Perl, PHP, Python & Ruby Development
- Adobe Flash Builder for Force.com
- Desktop Integration
- Apple, Mac and OS X
- VB and Office Development
- Excel Connector
- AJAX Toolkit & S-controls
- Force.com Builder & Native Apps
- AppExchange Directory & Packaging
- Force.com Labs Projects
- Open Source
- Jobs Board - Developer
- Job Board - Administrators
- Developer Challenges
- More
Archives
RSS Feeds
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
Comments (6) | TrackBack (0) Save to del.icio.us Digg this story
Filed under:
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:
© Copyright 2000-2009 salesforce.com, inc. Web-based Customer Relationship Management (CRM) Software-as-a-Service (SaaS).
All rights reserved Various trademarks held by their respective owners.
All rights reserved Various trademarks held by their respective owners.
Salesforce.com, inc. The Landmark @ One Market, Suite 300, San Francisco, CA, 94105, United States
General Enquiries: 415-901-7000 | Fax: 415-901-7040 | Sales: 1-800-no-software
General Enquiries: 415-901-7000 | Fax: 415-901-7040 | Sales: 1-800-no-software

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 Srinivas on May 5, 2010 05:40 AM:
I have discussed it here
http://salesforcetrekbin.blogspot.com/2010/05/visualforce-email-template-with.html
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.