This page contains information related to an old version of the Styled Text.
To take advantage of the latest features and improvements, we always recommend you use the latest version whenever possible. See the latest version's page for information about what's been changed.
Function: a!richTextItem_18r1()
Displays styled text within a rich text component.
Parameters
Name | Keyword | Type | Description |
---|---|---|---|
Text | text | Text or Styled Text | Array of text to display as a rich text item. Text can be further styled by nesting multiple a!richTextItem_18r1() calls. |
Style | style | Text | Determines the style to apply to the text value. Valid values include "NORMAL" (default), "EMPHASIS" , "STRONG" , "UNDERLINE" , "LARGE" , "MEDIUM" , "SMALL" , "HEADER_LARGE" , "HEADER_MEDIUM" , "HEADER_SMALL" , "POSITIVE" , "NEGATIVE" , "ACCENT" , and "SECONDARY" . |
Link | link | Link | Link to apply to the text. Create links with |
Link Style | linkStyle | Text | Determines how the link is underlined. Valid values: "INLINE" (default), "STANDALONE" . |
Visibility | showWhen | Boolean | Determines whether the component is displayed on the interface. When set to false, the component is hidden and is not evaluated. Default: true. |
Notes
Use the interactive editor below to test out your code:
Feature | Compatibility | Note |
---|---|---|
Portals | Compatible | |
Offline Mobile | Compatible | |
Sync-Time Custom Record Fields | Incompatible | |
Real-Time Custom Record Fields | Incompatible | Custom record fields that evaluate in real time must be configured using one or more Custom Field functions. |
Process Reports | Incompatible | Cannot be used to configure a process report. |
Process Events | Incompatible | Cannot be used to configure a process event node, such as a start event or timer event. |
a!richTextItem_18r1 Component