Table of Contents
Page Layout Actions (from the Metadata API) #
Extracts Salesforce page layout actions (buttons and quick actions), including their placement, grouping, and visibility, enabling analysis of user interaction points across layouts.
Results are loaded to table ss_SysLayoutAction
Parameters #
| Parameter | Purpose |
| @ObjectName | Salesforce Object Name (for example Account).alternatively pass “All” to retrieve all Objects |
| @Env | SQL Sales Environment Name, see Setup |
| @Special1 | Future use, not currently used |
| @Special2 | Future use, not currently used |
Example of Use – All #
exec ss_MetaLayoutAction 'DEMO', 'All'
Example of Use – Single #
exec ss_MetaLayoutAction 'DEMO', 'Account'
ss_SysLayoutAction table #
| Column Name | Purpose |
| ObjectName | API name of the Salesforce object the layout belongs to |
| LayoutFullName | API name of the layout (ObjectName-LayoutName format) |
| LayoutName | User-friendly name of the layout |
| ActionGroup | Group the action belongs to (e.g. Buttons, Quick Actions, ExcludeButtons) |
| ActionPosition | Position/order of the action within its group |
| ActionName | Name of the action (button or quick action) |
| ActionType | Type of action (e.g. Standard Button, Custom Button, Quick Action, Excluded Button) |
