View Categories

Metadata Layout Action

< 1 min read

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 #

ParameterPurpose
@ObjectNameSalesforce Object Name (for example Account).alternatively pass “All” to retrieve all Objects
@EnvSQL Sales Environment Name, see Setup
@Special1Future use, not currently used
@Special2Future 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 NamePurpose
ObjectNameAPI name of the Salesforce object the layout belongs to
LayoutFullNameAPI name of the layout (ObjectName-LayoutName format)
LayoutNameUser-friendly name of the layout
ActionGroupGroup the action belongs to (e.g. Buttons, Quick Actions, ExcludeButtons)
ActionPositionPosition/order of the action within its group
ActionNameName of the action (button or quick action)
ActionTypeType of action (e.g. Standard Button, Custom Button, Quick Action, Excluded Button)

Leave a comment

Your email address will not be published. Required fields are marked *