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

email template help
i have created an email template
EmailTemplate et = [SELECT Id FROM EmailTemplate WHERE DeveloperName='Promotional_Stationery_Inventory'];
here wt is an developername is it an field or here in developer name what we must send to it
developername means ownername or emailtemplatename
please help me wt to follow
thanks in advance
Hi,
Developername is a emailtemplatename in the EmailTemplate object.
Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved.
All Answers
Hi,
Developername is a emailtemplatename in the EmailTemplate object.
Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved.
To Query the email template it should be
EmailTemplate et = [SELECT Id FROM EmailTemplate WHERE DeveloperName='Promotional_Stationery_Inventory'];
Name : This is the name of the template. We can have more than one email templates with the same name
DeveloperName : The unique name of the object in the API. We cannot have more than one email template with same unique name.
So If we have more than one email template with the same name, then we can query it using the DEVELOPERNAME which is unique