You need to sign in to do that
Don't have an account?
Jon Jax
Email Template not displaying Merge Fields automatically from Custom Button url link
Hello,
I am stumped! I have dug through the forums as well and nothing that I have found pertains to this specific issue, perhaps it is something really simple that I am missing. Any help would be great, here is my explanation:
I have built an email template with merge fields that loads perfectly on its own and linked it to a Custom Button via url link. This does pull up the email template when the Custom Button is pressed but doesn't show any of the merge fields UNTIL I press the Select Template button and reselect the template that was specified in the url. I would like the merge fields to populate automatically and skip that extra step of having to reselect the email template. Any ideas? Here is my url:
/_ui/core/email/author/EmailAuthor?&rtype=003&p3_mlktp=a13&p3={!Sales_Order__c.Name}&retURL=%2Fa13/o&p4=test@test.com&p5=test2@test2.com&p24={!Sales_Order__c.Tech_1_Email__c}&p6=Confirmation for {!Sales_Order__c.Job_Code__c}&template_id=00X17000000Qcqq
Thanks!
I am stumped! I have dug through the forums as well and nothing that I have found pertains to this specific issue, perhaps it is something really simple that I am missing. Any help would be great, here is my explanation:
I have built an email template with merge fields that loads perfectly on its own and linked it to a Custom Button via url link. This does pull up the email template when the Custom Button is pressed but doesn't show any of the merge fields UNTIL I press the Select Template button and reselect the template that was specified in the url. I would like the merge fields to populate automatically and skip that extra step of having to reselect the email template. Any ideas? Here is my url:
/_ui/core/email/author/EmailAuthor?&rtype=003&p3_mlktp=a13&p3={!Sales_Order__c.Name}&retURL=%2Fa13/o&p4=test@test.com&p5=test2@test2.com&p24={!Sales_Order__c.Tech_1_Email__c}&p6=Confirmation for {!Sales_Order__c.Job_Code__c}&template_id=00X17000000Qcqq
Thanks!
http://www.salesforceben.com/salesforce-email-url-hack-tutorial/
Best of luck!
All Answers
I think you need to grab the fields HTML Id's and auto populate or set the values to the fields. For the lookup fields, you need to use lkid. This is will auto populate the values to the fields but for selecting the template you have to click select template button.
Let me know if you need additional information on this.
Regards,
Ajay
http://www.salesforceben.com/salesforce-email-url-hack-tutorial/
Best of luck!