1

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?

1 Answer 1

2

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)

2
  • 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, 2012 at 11:08
  • 1
    Sorry for the typo, updated. Too eager to answer I guess ;)
    – eyescream
    Nov 22, 2012 at 11:09

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .