For the managed package runtime, display an SVG Icon on a Flexcard. Select from a Salesforce SVG icon or a custom action. You can also link the icon to an action.
This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.
- From the Flexcard Designer, drag an Icon element from the Build panel into a state on the canvas.
- (Optional) From the Properties panel, update the element name in the Element Name field.
- From the Type dropdown, select an icon type.
- To configure a Custom icon, enter the source of the icon in the Source field.
-
To configure Salesforce SVG icon properties:
-
To select the 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:
-
Click to select an icon from the list available, and click Save.
-
Search for an icon in the search field, click an icon to select it, and click Save.
-
-
-
(Optional) Select a style variant from the Variant dropdown.
-
- (Optional) To update the size of the icon, select a new size from the Size dropdown.
- To link the icon to an action, click + Add Action. To configure action properties, see Flexcards Action Properties (Managed Package).
- (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 icon element, click Style to open the Style panel, and see Flexcards Icon Style Properties (Managed Package).
What’s next: Preview your Flexcard. See Preview a Flexcard (Managed Package).
- Flexcards Icon Properties (Managed Package)
For the managed package runtime, icon element properties are configurable in the Property Panel when you select an Icon element in the Flexcard Designer. With the Icon element, display a Salesforce SVG Icon or a custom icon on a Flexcard.