You need to sign in to do that
Don't have an account?
Merge Field problem
Hi,
I have custom object CPS.
CPS object has 2 lookups.
One look up to Contact object.
And other to custom object called PS.
I have to create merge template for CPS object.
I am able to access CPS fields by specifying merge field as <<CPS_Name>>
But now i want to access field of Contact and PS object.
I tried different merge field formats like:
«CPS_Contact__r.LastName»
«CPS_Contact_LastName»
«CPS_Contact__r.LastName»
«CPS_Contact__r_LastName»
«CPS_Contact__r_LastName»
«CPS_Contact_LastName»
«CPS_Contact_LastName»
«CPS_Contact.LastName»
but they show blank lines in generated documents.
Also i tried Connect to office. But does not support MS office 2010 that i have on my windows 7 machine.
How to write merge fileds for parent object fields ?
What is the format?
Thanks,
Sam
Hi,
I think you want to get related objects field in a Email template using merge fields. If so let me tell you that in email template you can not access related objects field. YOu can only access field of targetIObject. TargetObject is the object on which the eamil alert is created on. Now you have only onesolution taht you have to copy all information from related object to the target objects field. Only then you can access these values.
Hi,
Thanks for suggestion.
But my problem is not related to Email Template.
My problem is related to "Mail Merge Template".
HI,
I am sorry I completely misunderstood your issue. I hope you are looking for it.
For more you must read this : https://help.salesforce.com/apex/HTViewHelpDoc?id=valid_merge_fields.htm&language=en
Please ensure no two fields have same label name, that could create a issue.