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
sachin.ramdasisachin.ramdasi 

How to display email template content along with merge field in custom email feature

Hi All,

We're trying to build a custom email feature, where users will select an email template & then the content from the email template along with the merge fields will be displayed in a textarea(or CKeditor).

We can get the content of the email template from the EmailTemplate object, however what we want to know is if there is an easy way by which we can easily display this content along with the merged fields into a textarea or CKEditor? Any pointers will be highly appreciated!

 

Thanks in advance,

Sachin