
I am looking for creating a send email page which is similar to standard send email button.Fields like subject,body and an button for selecting template.On selecting the template it should populate in the body and the case owner should be able to edit the tempalte and add description to it.
Thanks in advance !!
1 réponse
You can do this by creating a custom link/button that includes the information you want to include in a URL (ex: template ID to use, CC email address, ...), and these fields will be prepopulated. This is not scalable if you have 100 templates, but a good start:
For example:
/_ui/core/email/author/EmailAuthor?p3_lkid={WHAT_ID}&p4={CUSTOM_COPYTO_FIELD}&template_id=TEMPLATE_ID&rtype=003&retURL=%2F{RECORD_ID)
Here are some links with additional information:
http://boards.developerforce.com/t5/AJAX-Toolkit-S-Controls/Help-need-custom-send-email-button-which-can-lookup-leads-from/td-p/125813/page/2http://www.xlerate.ca/nik/?p=97