You need to sign in to do that
Don't have an account?

Email template as a lookup field
Hi,
I want to get email template as a field in custom object(using lookup relationship). Is it possible? If it is how can i?
I want to get email template as a field in custom object(using lookup relationship). Is it possible? If it is how can i?
You can not get Email Template as Lookup field on Custom Object.But You can get it on as Lookup Field in VF page using a wrapper class
http://sunil02kumar.blogspot.in/2015/01/creating-custom-lookup-field-in-vf-page.html
This blog works out for me
Hope this helps
Best Regards
Kanika Dua
This is for list of records. Can we do it for single record?
It means you don't want your user to Select from a List of Templates.You just want an single Template
Correct me if I am wrong
Thats what Exactly happening their.You will get a List of templates from Lookup and Then You will select one by Clicking on particular Template Name.Selected Templated Name comes in Box and Id comes in Variable
Actually it is displaying in the form of table. I tried to remove the table and display as a single record(not list of records), but email template onload window is not opening.
I need a single row without using pageBlockTable
Here is my controller class and VF page