
Hello can somebody please help me with this urgent problem?
I set up email to case with a casenumber / reference number that will show in the object case(s). Now i want to reply back to customers using only salesforce and not outlook or any other mailapp. For this i go to the specific case and asign it to a user (myself for this mather). From there i can see 2 areas within the layout of the case.It
has the following areas: detail of case, extra info, case comments, open activities, solutions, e-mail, activity history, case history.
Now what is important is that i want to reply on the email to case i just asigned. for that i have a button where i can send email / reply on the incoming message. For this i want to use an Email template that uses fields from case comments for non standard solutions and fields from solutions for standard (or already known) solutions.
For this i understand i have to use Cross object merge fields in my email template.
The problem for me is that i want to use the email template in a case and so i have to pull information from the objects case(s) as well as solutions and case comments is a child object from a case i think.
The email template i created is a visualforce template using the following line to relate to objects.
<messaging:emailTemplate subject="Tam One supporteam" recipientType="Lead" relatedToType="Lead">
<messaging:htmlEmailBody >
Problem is that i can only chose the following objectnames: Lead (standard object) and installation__c (custom object).
can someone explain to me how i can make this work?
If I understand correctly, I believe you want
<messaging:emailTemplate subject="Tam One supporteam" recipientType="Lead" relatedToType="Case">
<messaging:htmlEmailBody >