For the managed package runtime, create a menu from a list of actions on a Flexcard. Style the menu button, and each action in the menu's dropdown. Add any action type available in the Flexcard Designer.
This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.
- From the Flexcard Designer, drag a Menu element into a state on the canvas.
- (Optional) From the Properties panel, update the element name in the Element Name field.
-
(Optional) In the Label field, enter the visible label of
the menu button.
Note
Beginning Summer '21, Label supports concatenated strings. Combine plain text and supported merge fields. For example, Update {AccountName}.
-
(Optional) To change the default menu button icon, from the
Icon field perform one of the following tasks:
-
Enter the name of the icon, such as utility:arrowdown. See Salesforce Lightning Design System.
-
Click the search icon in the input field, and perform one of the following tasks:
-
- (Optional) To disable scrolling in the dropdown when there are more than 5 menu items, uncheck Enable Overflow.
- (Optional) To change the position of the dropdown menu, select a new position from the Dropdown Position dropdown. The default is left.
- (Optional) To change the size of the dropdown menu, select a new size from the Dropdown Size dropdown.
- (Optional) To select a style variant, select a new style from the Variant dropdown.
- (Optional) To change the position of the icon in the menu button relative to the label, select a new position from the Icon Position dropdown.
- (Optional) To adjust the size of the icon in the menu button, select a new size from the Icon Size dropdown.
- To add actions, for each action, click + Add New Action. See Add a Click Event to a Flexcard Element (Managed Package) to configure the action properties.
- (Optional) To add conditions that must be met for the element to display, see Add Conditions to a Flexcard Element (Managed Package).
- (Optional) To style your menu element, click Style to open the Style panel, and see Flexcards Menu Style Properties (Managed Package).
-
Beginning Summer '22, to use your mouse and keyboard to open or close the menu and
move through the menu items, see the following options:
-
When the menu button is in focus, to open or close the menu, click with your mouse, press the enter/return key. You can also click outside the menu element to close the menu.
-
When the menu button or a menu item is in focus, to close the menu, press the tab or esc key. If you press the tab key, the focus moves to the next item on the page.
-
To go through the menu items, use the up and down arrow keys.
-
- Flexcards Menu Properties (Managed Package)
For the managed package runtime, menu element properties are configurable in the Property Panel when you select a Menu element in the Flexcard Designer. With the Menu element, create a menu from a list of actions.