I have tried appending __c and __r as other threads have suggested, but I haven't had any luck yet--maybe I'm reading their advice incorrectly. I'm working on my first visualforce email template and when I attempt saving it I get an error message: "Error: Invalid field Display_Name for SObject Event"
The little bit of code that generates it is:
<messaging:emailTemplate subject="You Are Registered!" recipientType="Contact" relatedToType="Event">
<messaging:plainTextEmailBody >
Hello!
Thank you for registering for our {!relatedTo.Display_Name}.
What can I do to have it recognized as a valid field?
Contact
whose API Name isDisplay_Name__c
?Event
. That's what I meant. Can you confirm the exact API Name does, in fact, exist?