+ Start a Discussion

Get Email Template DeveloperName and use it in a merge field within the template

Hi all

I'm currently working on a topic where I'm sending some survey links (hyperlinked to images) in Email Templates. These are connected to Cases and  I will be passing a few parameters such as the CaseNumber, CreatedDate, UserId of the sender etc in that URL.
I would also like to be able to send the DeveloperName of the Email Template that was used by the sender.

I can hard code this in every template (whether I use HTML (letterhead) or Custom HTML, but it adds maintenance overhead. Plus I want the power users to be able to edit / create templates on their own, hence I would like to use a merge field instead of hard coding it.

Thanks in advance for your input!