function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
AshanAshan 

Relationship of Custom Objects In a Mail Merge Template

I'm having two custom objects Employee and Company.

Employee has a company.

Company has address and email fields.

Can i get the Company.address and Company.email of a employee to a Mail Merge Template which is generated for a Employee ?

JayantJayant

I tried this on a Contact record -

//////////////////////////////////////

Hi {!Contact.Name},

Your account name is {!Account.Name}.

Thanks a lot.

///////////////////////////////////////

 

And this worked, so I guess it would work as well, just use the Merge Fields for required fields.

 

If it doesn't, you may create formula fields on the child object that fetch the value from parent and display those in the template.

 

Thanks a lot.