function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sylvie SerpletSylvie Serplet 

Lightning email templates: where to find their Id?

I have created Lightning email templates into a custom object and would like to retrieve their Ids to use in an Apex class to setTemplateId.
Where are they stored in Salesforce I can't find them?
Thank you.
Best Answer chosen by Sylvie Serplet
Sylvie SerpletSylvie Serplet
I finally found them on Workbench under object EmailTemplate!

All Answers

Shruti khodaboleShruti khodabole
Hi,
The new Lightning Experienced introduced a new way to create and manage your Email Templates.  Email Templates are now created and managed from the Email tab on the account, contact, lead and opportunity records in the new Lightning Experience UI.  Users are able to insert merge fields (1) and Load and Save Email templates (2) from within the new Lightning Experience Email Author.

IMPORTANT: Templates created via the Setup menu in Salesforce Classic are not currently available in the New Lightning Experience.  This also applies for Email Templates created in the Lightning Experience: they are not available in Salesforce Classic.

Here's the knowledge article: https://help.salesforce.com/articleView?id=000230915&language=en_US&type=1

Thanks,
Shruti Khodabole
Salesforce Developer
http://www.zen4orce.com
Sylvie SerpletSylvie Serplet
I finally found them on Workbench under object EmailTemplate!
This was selected as the best answer
Nathan Riggs 4Nathan Riggs 4
How can you change the Developer Name of a Lightning Template?????
Salman Zafar 20Salman Zafar 20
You can query your template and change the developer name.
SELECT Id, Name, DeveloperName,createdby.name FROM EmailTemplate