+ Start a Discussion
Christni DoyleChristni Doyle 

Visualforce template

Hey developers
How can I develop a new visualforce email template 
I have a requirement have a fields called X,Y,Z Now I want to show these fields and need to add three more fields a,b,c in this.
now in the email template I want to show  X,Y,Z new values with respect old values in a table for reference.
can any one give me an idea how can I acheive this.
 
 
Debaranjan GhoshDebaranjan Ghosh
Hello Christini 

Looks like your Query is answered here 

https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_email_templates_creating.htm


Creating a Visualforce Email Template
Do one of the following: ...
Click New Template.
Choose Visualforce and click Next. ...
Choose a folder in which to store the template.
To make the template available for use, select the Available For Use checkbox.
Enter a name in Email Template Name.

Please let me know if this solves your problem.
 
PriyaPriya (Salesforce Developers) 

Hi Christni,

Kindly refer this article to setup the VF email template :-

https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_email_templates_intro.htm

Regards,

Priya Ranjan