You are here:
Merge Fields for Visualforce Pages
A merge field is a field you can put in an email template, mail merge template, custom link, or formula to incorporate values from a record.

Use more general search terms.
Select fewer filters to broaden your search.
You are here:
A merge field is a field you can put in an email template, mail merge template, custom link, or formula to incorporate values from a record.
| Available in: Salesforce Classic and Lightning Experience |
| Available in: Contact Manager, Group, Professional, Enterprise, Performance, Unlimited, and Developer Editions |
Visualforce pages use the same expression language as formulas—that is,
anything inside {! } is evaluated as an
expression that can access values from records that are currently in context. For
example, you can display the current user's first name by adding the {!$User.FirstName} merge field to a
page.
<apex:page>
Hello {!$User.FirstName}!
s</apex:page>If your user’s name is John, the page will display Hello John!
You also can use merge fields or other functions to personalize your object-level help content.

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.