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
Raquel RiemerRaquel Riemer 

Trying to find the field to add to a Visual Force Template

I am trying to put the name of the contact within a lookup field to a vis form

The field is assigned to but I cannot seem to get the right syntax for it to be the name instead of the id

<!-- START MDUNCAN C-00220820 02.13.2018 - Added VIS Mager -->VIS Manager: {!relatedTo.cv__Contact__r.
Solicitor__c} <!-- END MDUNCAN C-00220820 02.13.2018 -->

I tried to add Name but that did not work either

 
Deepali KulshresthaDeepali Kulshrestha
Hi Raquel,

I went through the query of yours regarding adding the field in the visual force page.
Please refer to the following links as they may be helpful in solving your query:
https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_email_templates_creating.htm
https://success.salesforce.com/answers?id=90630000000h2ywAAA
https://developer.salesforce.com/forums/?id=906F0000000MHFBIA4

I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.

Thanks and Regards,
Deepali Kulshrestha