There are several delivered style definitions available, or you can create your own. The type of style definition determines where it can be applied, and what configuration options are available, such as:
Content Item LinkorSimple Clickable Link—Highlights or changes the appearance of links. These style definitions can be referenced in dashboard cards in the Dashboard Card Builder.Field—Changes the appearance or behavior of fields or subtable fields. These style definitions can be referenced in Format Configuration in the Interactive Report Builder, or in the Apply Styles action in the Logic Block Builder.
Dashboard Card Builder
Reference your style definition in the Links subtable, in the Style Definition field of your dashboard card record.
Interactive Report Builder
Reference your style definition while using the Format Configuration feature in the Table Layout section of your interactive report. Learn more in Table layouts in interactive reports.
Logic Block Builder
Reference your style definition in the Apply Styles action in your logic block. This is often used with conditional logic. For example, you could have style definitions that:
- Highlight a field when a value changes.
- Change the font color when a value exceeds a certain amount.
- Change the font color and highlights the field when a value is negative.
- Clear the highlight and font color once an approver has selected the field.
- Make a field required if a value is entered in a different field.
Learn more in Style Definitions application and Apply Styles action.
Style Definitions application
Use the Style Definitions application to configure styles that change the appearance or behavior of different UI elements, such as links and fields.
The Type of element you select determines which fields are available for configuration, and where you can apply the style. Style definitions can only be referenced in:
- Logic Blocks—Enter the style definition of type
Fieldin the Apply Styles action to change the UI elements in application fields, including subtables. Optionally, create conditional logic so the style definition is only applied in certain situations. Learn more in the Apply Styles action topic. - Interactive Reports—Enter the style definition of type
Fieldin a Field Configuration in the Table Layout section of your interactive report. - Dashboards—Enter the style definition name in a dashboard card to change the UI of a
Content Item LinkorSimple Clickable Link. Each clickable link can be configured with its own unique style definition.
Learn more in the Style definitions topic.
Tips
There are several considerations for configuring style definitions, such as:
- There are no validation ensuring text colors and background colors are configured differently. If you configure both on the same field, ensure they have different values.
- Applied themes change the colors of background colors and text colors used in style definitions. Consider theme colors when you select the colors for your definition.
cannot be configured with logic blocks.