You need to sign in to do that
Don't have an account?
Vandy7
Accessing E-mail Template
Hello everyone,
I am a newbie to force.com platform.Can anyone suggest me the code for accessing email template through command button in visualforce page.
Thanks in advance.
Hey
Depends on which template type you're using e.g. visualforce, html?
The fetch the template you query it as you would with other object records i.e.
Wes
All Answers
Hey
Depends on which template type you're using e.g. visualforce, html?
The fetch the template you query it as you would with other object records i.e.
Wes
Thanks Wes for your reply
.But I want to access it through a command button in a visualforce page.I want to select one of the templates in the folder when i click on the command button(Named-SELECT TEMPLATE) used in my code.
Is there a method to do this?
Hey
You'll need the code somewhere in the action method or in the page initialisation. What is the user flow from end to end e.g.
1. Person clicks button called 'Select Template'.
2. Popup window appears with options.
3. User selects options from picklist
4. etc.....
Wes
Thank you,
That worked well.