Before you begin to develop Visualforce pages and components, familiarize yourself with the different places to create them.
-
Develop Visualforce pages with Visualforce development mode. Visualforce development mode is only available for users with the Customize Application permission. Development mode provides you with:
- A special development footer on every Visualforce page that includes the page’s view state, any associated controller, a link to the component reference documentation, and a page markup editor that offers highlighting, find-replace functionality, and auto-suggest for component tag and attribute names.
- The ability to define new Visualforce pages just by entering a unique URL.
- Error messages that include more detailed stack traces than what standard users receive. To enable Visualforce development mode:
- From your personal settings, enter
Advanced User Detailsin the Quick Find box, then select Advanced User Details. No results? EnterPersonal Informationin the Quick Find box, then select Personal Information. - Click Edit.
- Select the
Development Modecheckbox. - Optionally, select the
Show View State in Development Modecheckbox to enable the View State tab on the development footer. This tab is useful for monitoring the performance of your Visualforce pages. - Click Save.
-
Develop Visualforce pages through the Salesforce user interface. From Setup, enter
Visualforce Pagesin theQuick Findbox, then select Visualforce Pages. For Visualforce components, from Setup, enterComponentsin theQuick Findbox, then select Visualforce Components. -
Develop Visualforce pages with Visual Studio Code, a lightweight and extensible code editor. Salesforce Extensions for Visual Studio Code includes tools for developing on the Salesforce platform. It provides features for working with development orgs (scratch orgs, sandboxes, and DE orgs), Apex, Aura components, and Visualforce.
-
Accessing Metrics for Your Visualforce Pages
To query metrics on the Visualforce pages in your org, use the
VisualforceAccessMetricsobject in the Salesforce SOAP API.