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?

| improve this question | | | | |

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)

| improve this answer | | | | |
  • Tiny typo in your answer. You need to do: {!$Organization.Name} but otherwise brilliant it works. And thanks for the link as well. – dublintech Nov 22 '12 at 11:08
  • 1
    Sorry for the typo, updated. Too eager to answer I guess ;) – eyescream Nov 22 '12 at 11:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.