Visualforce is a framework that allows developers to build sophisticated, custom
user interfaces that can be hosted natively on the Lightning Platform. The
Visualforce framework includes a tag-based markup language, similar to HTML, and a
set of server-side “standard controllers” that make basic database operations, such
as queries and saves, simple to perform.
Required Editions
Available in: Salesforce Classic and
Lightning Experience
Available in: Contact Manager,
Group, Professional,
Enterprise, Performance,
Unlimited, and Developer
Editions
Note For new development, Salesforce recommends using Lightning Experience low-code
tools and Lightning web components over Visualforce for the most modern,
performant, and responsive functionality. See Why Should I Use Lightning
Web Components instead of Visualforce?
With Visualforce you can:
Create custom user interfaces that easily use standard Salesforce
styles
Create custom user interfaces that completely replace the standard
Salesforce styles
Build wizards and other navigation patterns that use data-specific rules
for optimal, efficient application interaction
Visualforce comes with a rich component library that
allows you to quickly build pages without having to create so much
functionality yourself. In the Visualforce markup language, each tag
corresponds to a coarse or fine-grained component, such as a section of a
page, a related list, or a field. The components can either be controlled by
the same logic that is used in standard Salesforce pages, or developers can
associate their own logic with a custom controller or controller extension
written in Apex.
Visualforce Pages Visualforce pages are the top level container for custom apps built with Visualforce. Create Visualforce pages by adding Visualforce components (standard or custom), static HTML markup, and CSS styles and JavaScript to the page.
Visualforce Components Visualforce components are small, reusable pieces of functionality—think widgets, panels, user interface elements, that kind of thing—that you use in Visualforce page markup. You can use standard Visualforce components, and create your own custom components.
Static Resources Static resources allow you to upload content that you can reference in a Visualforce page, including archives (such as .zip and .jar files), images, style sheets, JavaScript, and other files. Static resources can be used only within your Salesforce org, so you can’t host content here for other apps or websites.
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
Always Active
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
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
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.