Formatted Content
Formatted Content displays read-only information as plain text, formatted text, or a user avatar. Formatted Content is used to display a wide range of read-only content, from static links to related content to user avatars that link to full user profiles.
- Usage
- Configuration
- Examples
Formatted Content offers a flexible way to add read-only content to a screen and to other components (e.g. links to related content). Formatted Content is also used to display user avatars.
Anatomy
-
Card background
-
Formatted text
Best practices
- While Formatted Content can be used to display dynamic system data, avoid using it to display large amounts of information. The Action Form is recommended for this purpose because it's easier to maintain.
Common patterns
With Screen Breadcrumb
Screen breadcrumbs are a required element of all screens (with the exception of top-level screens such as dashboards). Screen Breadcrumb lets you create and configure the breadcrumb path to display in the header.
With Toolbar
Adding a Toolbar to Formatted Content can toggle views of screen content or add other basic functionality.
Properties
- field – Required. The query that retrieves the data for the Formatted Content, based on the data model.
- field – Optional. The label that displays for the Formatted Content.
- field – Optional. The hex code for the label text color.
- Plain Text Display Treatment – The content displays as plain text.
- Link Display Treatment – The content displays as linked text.
- Formatted Text Display Treatment – The content displays as formatted text.
- User Avatar Display Treatment – The content displays as user avatar.
field – Required. Specifies the display treatment for the content:- field – Optional. The maximum number of user avatars to display. Avatars that exceed this limit are displayed by selecting the View More icon, which displays information for all users on a new screen.
- field – Optional. The message that displays if there is no data available.
- field – Optional. The hex code for the color that the values are highlighted in. Used for content with the plain text display treatment, link display treatment, or the formatted text display treatment.
- field – Optional. The hex code for the color of the content configured to display as formatted text.
- field – Optional. The screen that displays when users select the link.
- field – Optional. The order to display the fields in.
- field – Optional. Specifies a display style in JavaScript to apply to the content configured to display as formatted text.
section – Required. A section of properties used to configure the formatting of the content:- field – Optional. The fields retrieved from the source specified in the field.
- field – Optional. The initial set of conditions used when retrieving data from the source specified in the field.
- Left – The content is left-justified.
- Center – The content is center-justified.
- Right – The content is right-justified.
field
– Optional. Specifies the horizontal alignment of the content:- field – Optional. The user's permission to access the component. If a user is not assigned a role that includes this permission, they cannot view or interact with the component.
- Hide – The component is hidden.
- Disable – The component is visible but not cannot be interacted with.
drop-down – Optional. If the user does not have permission to access the component, specifies whether to hide or disable it:
With avatar display
- Avatar Display Treatment. set to
- not included.
- included.
- included.
:- Left. set to
With plain text display
- Plain Text Display Treatment. set to
- not included.
- not included.
- not included.
:- Left. set to