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
kamal3883kamal3883 

Defaulting email template in send an email

Hi,

 

I want to default email template in send an email button in email section. 

 

Solution: i can do this by customizing send an email button. but issue is i cant add this button on email section on case. (email section is not customiziable on page layout).

 

we can create button on task and add it in open activity section. but i want to add this button in email section.

 

Other approch: using support settings on case for defaulting email template in send an email button. anybody knows whether  its possible to use 'Enable default email templates' option in support settings for this.

Rahul_sgRahul_sg
go to customize> cases >Support Settings
kamal3883kamal3883

but after selecting class name in support settings. when we click on send an email button. no template comes up. There is no issue in code of class.

can you please explain. i can attach screen shot of my support setting page.

 

Rahul_sgRahul_sg
by class i think you mean a Template. you dont have to write any apex class. once you enable this setting select the appropriate templates for :
Case Creation Template
Case Assigned Template
Case Close Template

and test this by creating and assigning a case to a User
kamal3883kamal3883

Rahul,

 

Here i want to use default template for 'send an email' button case. button is present in email section.

 

When you go to bottom of page. you see one option for selecting class.