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
Kunal Purohit 4Kunal Purohit 4 

How to design a custom button.?

Hello Folks,

I want to design a custom button such that when user click on that custom button, a drop down should appear with list of emeil template, followed by editable Email Body and recipient name. Finally, clocking on Send button in dropdown, Email will be sent to recipient. How to perform this tak? Using Trigger or Lightning Flows? Plz Suggest.

denis banksdenis banks
Add the button label and name.
Click the Detail Page Button radio button.
Select Display in New Window as the Behavior and URL as the Content Source.
Add the custom button code as outlined by the button guide. For example, including a template from a custom button would entail adding the DST parameter  https://www.smione.org/
TobyKutlerTobyKutler
Use The Flow Email Composer (https://appexchange.salesforce.com/listingDetail?listingId=a0N3A00000G5Eu9UAF&tab=e)component. This has the email template selection included as well as the editable email body and recipient name. It looks like this: 
User-added image
 
Jessica smartJessica smart
Next navigate to Setup > Customize > [Select Object in question, e.g., Opportunities ] > Buttons, Links, and Actions. Next, select the New Button or Link button at the top of the page. Add the button label and name. Click the Detail Page Button radio button https://www.smione.org/