You need to sign in to do that
Don't have an account?
hramani
DISPLAY AN APPROVAL COMMENT ON A VF TEMPLATE
I want to display the Approval or Rejection Comment on the VF email template.
Can someone help me how to do that WITHOUT CHANGING THE relatedToType="ahm__Interaction__c"
Below is my code.
<messaging:emailTemplate subject="Action Required: Speaker Alliance Request {!relatedTo.name} has been approved" recipientType="User" relatedToType="ahm__Interaction__c"> <messaging:plainTextEmailBody >
Dear {!relatedTo.Owner.FirstName} {!relatedTo.Owner.LastName},
Your Interaction request {!relatedTo.name} has been approved by {!relatedTo.ahm__Owner_s_Manager_Name__c}. You will receive an email from your assigned meeting planner within 1 business day.
Interaction Details
<c:InteractionDetailComponent InteractionId="{!relatedTo.Id}" />
If you have any questions or require further assistance, please contact AHM at {!$Setup.Customer_Service__c.Phone_Number__c}.
Thank You,
Mangement
</messaging:plainTextEmailBody>
</messaging:emailTemplate>
Can someone help me how to do that WITHOUT CHANGING THE relatedToType="ahm__Interaction__c"
Below is my code.
<messaging:emailTemplate subject="Action Required: Speaker Alliance Request {!relatedTo.name} has been approved" recipientType="User" relatedToType="ahm__Interaction__c"> <messaging:plainTextEmailBody >
Dear {!relatedTo.Owner.FirstName} {!relatedTo.Owner.LastName},
Your Interaction request {!relatedTo.name} has been approved by {!relatedTo.ahm__Owner_s_Manager_Name__c}. You will receive an email from your assigned meeting planner within 1 business day.
Interaction Details
<c:InteractionDetailComponent InteractionId="{!relatedTo.Id}" />
If you have any questions or require further assistance, please contact AHM at {!$Setup.Customer_Service__c.Phone_Number__c}.
Thank You,
Mangement
</messaging:plainTextEmailBody>
</messaging:emailTemplate>
If this solve your issue mark it as best answer.