Find your content:

Search form

You are here

Cannot recognise Organization in email template?

 
Share

Using a VisualForce email template, I try to add:

<p>Thank you for your interest in {!Organization.Name}</P>

to my template, I get:

Error: Unknown property 'core.email.template.EmailTemplateComponentController.Organization'

Any ideas on how I can get the Organization name in a template?


Attribution to: dublintech

Possible Suggestion/Solution #1

Try with dollar: {!$Organization.Name}

In case of problematic field easiest way for me is to start the creator of new formula field or workflow and the editor there works quite nicely, you can always copy over the merge fields from it to the email template, Visualforce page etc.

Functions reference

VF global variables (quite a lot of them can be used in emails too)


Attribution to: eyescream
This content is remixed from stackoverflow or stackexchange. Please visit https://salesforce.stackexchange.com/questions/4693

My Block Status

My Block Content