In OmniStudio FlexCards, when you want to change the visual styling of a field element (e.g., font type, font color, formatting), you have two main options:
A. Write custom CSS
OmniStudio FlexCards allow applying custom CSS classes for fine-grained control of styles.
This is how you can specify a font like Times New Roman or apply a red color.
B. Make edits to Field Style
The Field Style editor within the FlexCard Designer lets you directly configure basic styling properties (like text color, background, alignment, etc.) without needing custom CSS.
Why not the others?
C. Make edits to Setup Panel – The Setup Panel is for data source, conditions, and layout configuration, not for styling individual fields.
D. Make edits to Field Properties – Field Properties are used to configure which data is displayed and how it behaves (like label, formatting rules, or conditional display), but styling is handled through Field Style or CSS, not properties.
“You can use the Field Style editor to set basic styles, such as font color and alignment.”
“For advanced customization, apply custom CSS classes to field elements.”
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit