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
astraeaastraea 

Can I display email template id on task or send mail page ?

Hi, all

 

I would like to add email template id and folder id on Task page.

I plan to use template folders as our service's codes, and template id for marketing.

 

I would like to display them on send mail page and / or task page.

 

Can I get them?

 

Do tasks keep them in the database ?

 

 

I know how to get all email template id.

EmailTemplate[] tList = [select id,name,folderid from emailtemplate]

But I don't know how to match them, because subjects and comments that have already sent might be changed.

 

 

Thanks in advance,

astraea