I have a question related to email template.

I have two object : 1. Sales order (This contain shipment type filed with Means_of_Transport__r as API ) 2. Means of transport (This contain code filed as Code__c)

Now i am using merge formula as below :


But when i am using Send test and verify Merge field it's not taking any value for corresponding record.

Is this something i am using wrong logic ?

  • What is the type of email template and what is the relationship between fields? Also there is a typo here {!KNDY4__Sales_Order__r.KNDY4__Means_of_Transport__r.KNDY4__Code__c} Oct 5, 2018 at 10:21
  • It's a text email template and field are coming from manage package and i used {!KNDY4__Sales_Order__r.KNDY4__Means_of_Transport__r.KNDY4__Code__c} also but this is also not working.
    – Ravina
    Oct 5, 2018 at 10:32

1 Answer 1


Currently, it is not supported in Text template to get parent field value. You can use VF email template there you can access Parent field.

You can also vote this idea here.

Cross Object Merge Fields in Email Template

  • 1
    or use cross object formula fields on the child field
    – cropredy
    Oct 6, 2018 at 7:09

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .