You need to sign in to do that
Don't have an account?

How to display event activity date and event activity datetime of lead on email template ?
Hi All,
I have a doubt regarding displaying merge fields on Email template. I want to display event activityDate and Event ActivityDateTime related to Lead object in an Email Template. I have written the merge fields like below:
Your appointment Date and Time is listed below:
{!Event.ActivityDate}
{!Event.ActivityDateTime}
But it is not working when sending a demo email. It is an urgent requirement. Please provide a solution for this.
Thanks in advance.
I have a doubt regarding displaying merge fields on Email template. I want to display event activityDate and Event ActivityDateTime related to Lead object in an Email Template. I have written the merge fields like below:
Your appointment Date and Time is listed below:
{!Event.ActivityDate}
{!Event.ActivityDateTime}
But it is not working when sending a demo email. It is an urgent requirement. Please provide a solution for this.
Thanks in advance.
Event Activity is child object of lead.
Hence, Cross Object Email Template is not Possible in salesforce at this point in time
Vote for this Idea : https://success.salesforce.com/ideaView?id=08730000000Brk7AAC
Only Possible way to access and Display child record details in email template of parent is to use Visualforce Email Templates
Here is an Example of how to do it using VF Email Templates : http://www.infallibletechie.com/2013/05/visualforce-email-template-with-custom.html
Other Samples : http://wiki.developerforce.com/page/VisualForceEmailTemplates_sample
if our suggestion(s) worked, let us know by marking the answer as "Best Answer" right under the comment.This will help the rest of the community should they have a similar issue in the future. Thank you!