You need to sign in to do that
Don't have an account?
Wei Dong 10
Email Templates Cannot Refer the current Object's parent's or children's properties?
Hello all:
Suppose I have a Case and a Product. And the "Product" is One to Many Cases. So a Case has a "Lookup(Product)" field referring to "Product".
Now If I write something like this in the Email Template:
{!Case.CA_Product__r.SomeProductField}
When I save this template, I found the template will AUTOMATICALLY remove "SomeProductField", this means it seems the template ONLY leave the basic properties belonging to the Case itself.
So now my question is:
1)Does an email template not have a function to refer its parent or child properties' properties? (something like what I gave you in my example)?
2)So I have to use formular field to refer the parent field value in the Case and then refer this in the email template?
Suppose I have a Case and a Product. And the "Product" is One to Many Cases. So a Case has a "Lookup(Product)" field referring to "Product".
Now If I write something like this in the Email Template:
{!Case.CA_Product__r.SomeProductField}
When I save this template, I found the template will AUTOMATICALLY remove "SomeProductField", this means it seems the template ONLY leave the basic properties belonging to the Case itself.
So now my question is:
1)Does an email template not have a function to refer its parent or child properties' properties? (something like what I gave you in my example)?
2)So I have to use formular field to refer the parent field value in the Case and then refer this in the email template?
It is an idea posted on Salesforce as well.Email template only allows fields from the currrent object.
Formula fields is the only solution left for this.
For refernce : https://success.salesforce.com/ideaView?id=08730000000Brk7AAC
Cheers!!!