You are here:
Display Text on a Flexcard
Keep your user informed by displaying text that combines plain text and merge fields. Format the final rendering by using a rich text editor.
- From the App Launcher, find and select Flexcards.
- Expand a Flexcard and select a version.
- If needed, deactivate the Flexcard for editing the Flexcard.
-
Drag the Text element from the element panel to the canvas.
Omnistudio uses the TinyMCE editor by default. If needed, you can enable Lightning Rich Text Editor. See Differences Between Lightning and TinyMCE Rich Text Editors and Enable Lightning Rich Text Editor in Omniscripts and Flexcards.
- Enter content and div tags as needed:
- Enter plain text.
- Select fields or enter the field name in the {field name} format, such as
{Type}. - Enter custom labels in the {Label.customLabelName} format. For example, to add a custom label for AccountName, enter
{Label.AccountName}. - Enter a context variable as a merge field. For example, to add the logged-in user’s profile name, enter
{User.userProfileName}. The rendered User global context variable is visible at run time only, such as when you preview or publish the Flexcard. - To add a CSS class at the paragraph level, select a class from the Div picklist.
- Apply more formatting as needed.

