Create Visualforce Component
sf_create_visualforce_componentCreates reusable Visualforce components in Salesforce using the Metadata API. Specify API name, label, and markup to deploy an ApexComponent for use in pages via <c:ComponentName/>.
Instructions
Creates a reusable Visualforce component (ApexComponent) in the Salesforce org via the Metadata API. Provide the component API name, label, and Visualforce markup (must include an apex:component tag). Components can be included in Visualforce pages using <c:ComponentName/>.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | Yes | Display label for the component | |
| content | Yes | Visualforce component markup (must include <apex:component> tag) | |
| apiVersion | No | API version, e.g. '62.0' | 66.0 |
| description | No | Description of the component | |
| componentName | Yes | API name for the Visualforce component, e.g. 'MyComponent' |