Create Visualforce Page
sf_create_visualforce_pageCreate a Visualforce page in Salesforce by providing its API name, label, and markup. The page is deployed immediately via Metadata API, with options for controllers, extensions, header, and sidebar.
Instructions
Creates a Visualforce page in the Salesforce org via the Metadata API. Provide the page API name, label, and Visualforce markup content (must include an apex:page tag). Optionally specify a standard controller, extensions, and whether to show the header/sidebar. The page is deployed immediately and accessible at /apex/PageName.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | Yes | Display label for the page | |
| content | Yes | Visualforce markup (must include <apex:page> tag) | |
| sidebar | No | Whether to show the sidebar | |
| pageName | Yes | API name for the Visualforce page, e.g. 'MyPage' | |
| apiVersion | No | API version, e.g. '62.0' | 66.0 |
| extensions | No | Comma-separated Apex class names for controller extensions | |
| showHeader | No | Whether to show the Salesforce header | |
| description | No | Description of the page | |
| standardController | No | Standard controller object API name, e.g. 'Account' |