Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 20 Next »

In this section, you can see various attributes that appear while configuring the Button Group. These attributes include:

image-20240811-143708.png

Note: For non-record pages, the attributes are similar, but some options may be unavailable, such as "Record Object" and "Record Preview''

Attribute

Description

Record Object

This represents the object for which the configuration is created. The object is already selected for record page type, as it was chosen during the initial configuration.

Note: This field is disabled and pre-filled for Record Page.

Note: This field is not applicable for Non-Record Page.

Record to Preview

This feature allows users to select an object record to see how the Button Group will appear in the preview section after making changes.

Note: This field is not applicable for Non-Record Page.

Buttons

Users can add multiple buttons to create a button group.

Reference: New Action

Overflow After

It refers to the limit after which overflow of content in button group will be shown in drop-down.

For Example, overflow is set to 3, means 3 buttons will be in button group display and rest will be shown in the drop-down.

Alignment

Here users can set alignment for the button group in 3 locations namely:

  1. Center

  2. Left

  3. Right

Note: By default, button alignment is set to right.

Default Variant

Allows to show Button Group in different SLDS color formats.

You can see variant types Reference: Variant Types.

Padding Location

  • It is used to create space around an element's content.

  • You can set the padding location for Button Group as Around, Top, Bottom, Left, Right, Horizontal, Vertical.

Padding Size

You can set the padding Size for Button Group as:
XXX Small, XX Small, X Small, Small, Medium , Large, X Large.

Margin Location

  • It is used to create space from outer edge of an element's content.

  • You can set the Margin location for Button Group as Around, Top, Bottom, Left, Right, Horizontal, Vertical.

Margin Size

You can set the Margin Size for Button Group as:
XXX Small, XX Small, X Small, Small, Medium , Large, X large.

Button Configuration:

image-20240811-163700.png

Button Attribute

Description

Button Type

Here user can select the type of button to configure.

Button Types available:

  1. Button: Here user can add buttons to configure actions

  2. Header: Here you can provide a distinct title or label for the button group.

  3. Separator: Here, the separator is used to divide two buttons with a dark line between them.

  4. Submenu: Here you can add secondary buttons nested within the main button group, offering additional options or action.

Reference: Submenu

Label

Label is the text name displayed on the button.

Name

Name attribute specifies the API name of the button.

Left Icon

Allows user to select the icon on left side of button label.

Reference: Icons

Right Icon

Allows user to select the icon on right side of button label.

Reference: Icons

Variant

Allows users to set and show buttons in different color formats.

Reference: Variant Types

Action

Here user can create multiple actions on Button.

Reference: Actions

Visible

Allows users to control button visibility based on selected criteria from the dropdown:

  • Always: The button is always visible.

  • Never: The button is never visible.

  • Conditional: The button is visible based on specific condition.

Note: the conditional filter is not available for Non-Record Page

Reference: Filter Criteria

Disable

Allows users to control the button's disabled state based on selected criteria from the dropdown:

  • Always: The button is always disabled.

  • Never: The button is never disabled.

  • Conditional: The button is disabled based on specific condition.

Note: the conditional filter is not available for Non-Record Page

Reference: Filter Criteria

Sub Menu Button:

image-20240811-150540.png

Submenu Attribute

Description

Label

Label is the text name displayed on the button.

Name

Name attribute specifies the API name of the button.

Sub Menu Position

  • Position specifies the location at which sub menu will be displayed in button group as user creates.

  • The submenu button can open nested buttons on the Left or Right.

Buttons

Users can add multiple buttons to form a button group. This button group will be nested and will be shown as dropdown menu for the parent button.

Reference: You can explore more about buttons config above.

Icons:

  • Here user can select the icon for button.

  • A search bar is available to find icons by their names.

  • Also you can set the sizes of icon as X-small, Small.

image-20240811-144716.png

Variant Types:

Here user can choose the different variant for the buttons.

Variant BG Dropdown-20240811-163037.png

Variant

Description

Neutral

Button is white color.

Brand

Button is Blue color.

Outline-brand

Outline-brand highlights the label and border of Button.

Destructive

Button is Red color.

Success

Button is Green color.

Text Destructive

Highlights the label of Button to Red in color.

Actions:

Button Actions Modal-20240811-162800.png

Action Name

Description

Custom Component

This action allows users to add a custom component within the button.

Delete

This action enables users to delete record using its record Id directly within the button.

Edit

This action enables users to edit record using its record Id directly within the button.

Global Action

This action allows users to add a global action directly within the button.

List View

This action allows users to add an object’s list view directly within the button.

New

This action allows users to quickly create a new record for an object directly from the button.

Object Page

This action allows users to quickly create a new record for an object directly from the button.

Quick Action

This action allows users to add a quick action directly within the button.

Redirect

This action enables users to redirect to a specific webpage by providing a URL link.
Add Parameters: You can add the desired value to display at the end of the URL link here.

Screen Flow

This action allows users to trigger a screen flow directly from the button.

Tab

This action allows users to open a different object tab directly from the button.

View

This action enables users to view record using its record Id directly within the button.

Filter Visible and Disable Criteria:

image-20240913-105645.png
  • The Filter Criteria feature allows you to refine the data in the config object records based on specific conditions. You can apply different types of filtering criteria to control when the button should be visible or disable.

  • You can also select values from various sources to filter the data.

Static Filter criteria:

In this section, provide a value to compare or check against the selected field. You can provide a value by clicking on the gear icon.

image-20240905-062437.pngScreenshot 2024-08-05 024132.pngScreenshot 2024-08-06 165740.png

Custom Logic for Multiple Filters:

Custom Condition Logic in Salesforce allows you to define complex filtering criteria by combining multiple filter conditions using logical operators like AND, OR, and NOT.

  • AND means all conditions must be true.

  • OR means at least one condition must be true.

image-20240905-063806.png

Value Source:

In this section, users can choose from various input sources, including:

  • Custom Metadata

  • Custom Setting

  • Record Field (available only in record page configuration)

  • Static Value

These input sources allow you to pass or set values for various attributes or fields.

property binder 2.png

Value Source

Description

Custom Metadata

Use custom metadata records to assign values.

Custom Settings

Use custom setting records to assign the values.

Record Field

Use a record value from a selected Record Object.

Note: This option is only available when the page type is set to Record Page Config.

Static

You can provide a static fixed value.

  • No labels