Loading
Salesforce Enforces New Security Requirements in Summer 2026Read More
Enhance Salesforce with Code
Visualforce Pages

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.

Required Editions

Available in: Salesforce Classic and Lightning Experience
Available in: Contact Manager, Group, Professional, Enterprise, Performance, Unlimited, and Developer Editions

Each Visualforce page has its own unique, permanent URL, and you can link Visualforce pages together to build complex app functionality.

  • Create Visualforce Pages
    You can create Visualforce pages either by using Visualforce development mode, or by creating pages in Setup.
  • Enable Development Mode
    Although you can view and edit Visualforce page definitions on the Visualforce Pages page in Setup, enabling Visualforce development mode is the best way to build Visualforce pages.
  • View and Edit Visualforce Pages
    View and edit Visualforce page details, including when it was created, when it was last modified, and the Visualforce markup associated with the page.
  • Manage Visualforce Pages
    After creating Visualforce pages, you can customize, edit, and delete them.
  • Manage Version Settings for Visualforce Pages and Custom Components
    Visualforce pages and custom components have version settings for the API and Visualforce. Managed packages referenced by the page or component also have their own version settings. Package versions can be used to evolve components without breaking existing customer integrations using the package.
  • Create Visualforce Tabs
    Build Visualforce tabs so that users can access Visualforce pages from within Salesforce.
  • 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.
  • Uncaught Exceptions in Visualforce
    Visualforce displays extra information when a page encounters errors during execution. This information can help you resolve problems with the page’s code, or at least track down an owner to look further into the problem.
  • Browser Security Settings and Visualforce
    Some Visualforce pages are run from *.force.com servers. If you set your browser’s trusted sites to include *.salesforce.com, you must also add *.force.com to the list.
 
Loading
Salesforce Help | Article