Create Lightning App Builder Page (FlexiPage)
sf_create_flexipageCreate Lightning App Builder pages (FlexiPage) in Salesforce via Metadata API. Choose from App, Record, or Home page types, set templates, and bind object for record pages.
Instructions
Creates a Lightning App Builder page (FlexiPage) in the Salesforce org via the Metadata API. Supports AppPage, RecordPage, and HomePage types. Specify the page template (e.g. header_and_right_rail, header_and_three_regions) and for RecordPage provide the object API name. The page can then be activated and assigned via Setup > Lightning App Builder.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | Yes | Display label | |
| pageName | Yes | FlexiPage API name | |
| pageType | Yes | Type of Lightning page | |
| template | No | Page template name, e.g. 'header_and_right_rail' | header_and_right_rail |
| description | No | Description | |
| masterLabel | Yes | Master label for the page | |
| objectApiName | No | Object API name (required for RecordPage) |