+ Start a Discussion

Code Issue

I am trying to use a VF Email template but when I use below I am getting the error as
 Error: Unknown property 'core.email.template.EmailTemplateComponentController.COI_Expertise__c'  Can some one guide me where I am wrong
<messaging:emailTemplate subject="xyz" recipientType="Contact" relatedToType="COI_Expertise__c">
<messaging:plainTextEmailBody >
Reviewer Name : {!COI_Expertise__c.Reviewer_Name__c}

Shashikant SharmaShashikant Sharma
Change {!COI_Expertise__c.Reviewer_Name__c} to below : 


It should fix your issue.