OmniStudio Style The Elements On A FlexCard
OmniStudio Style The Elements On A FlexCard
OmniStudio Style The Elements On A FlexCard
Exercise Guide
Requirements
Once a FlexCard contains elements, style them to achieve the look you want.
Prerequisites
● Display Data and Actions on a FlexCard
Tasks
1. Style Elements in the FlexCard
Time
● 10 mins
Style all the elements now, starting with the icon and header block, followed by the Primary
Contact field, the actions menu, and the remaining data fields.
1. Style the Icon and Text elements in the Icon Header block.
c. Scroll to APPEARANCE.
d. In Background Color enter #3A6D9D in the field. The color of the entire
background changes, and the icon and account name are now visible.
e. Locate ALIGNMENT.
f. For Text Align, select Center.
Now that the header is complete and styled, configure the Primary Contact
field.
a. Select the Primary Contact text element. In the Style panel under
DIMENSIONS > Default, adjust the element width to 7.
Field Value
Padding Type Around
NOTE: The Padding and Margin settings may not be immediately visible in the
Properties pane, but you can see them applied on the Canvas.
Field Value
Padding Type Around
Almost there! Style the last three fields with a saved style to save time.
4. Style the Phone field. Save the style and apply it to the last two fields.
b. Locate DIMENSIONS > Default and adjust the element width to 11.
Field Value
Padding Type Around
d. Scroll up to the top of the panel. Under CUSTOM STYLES, click the dropdown
arrow. Select Save As.
f. Select the Website field and go to the Style panel. Apply the saved style to
this field. Click the magnifying glass icon.
g. Select the style and watch how the display of the field changes in the preview.
Click Save.
NOTE: Styles are saved in the FlexCard and not across all cards. A saved style
will cross over to clones of a FlexCard and all versions of it.