Loading

OmniStudio FlexCard Datatable Icon Column Not Displaying

Veröffentlichungsdatum: Apr 3, 2026
Beschreibung

In an OmniStudio FlexCard Datatable, a column set to the Icon type shows no checkmark, and the cells appear blank even when the underlying record appears to hold a "true" value. This issue occurs in OmniStudio orgs when a FlexCard Datatable is configured to display Boolean values as icons.

Cause: Icon vs Checkbox Column Types

The OmniStudio FlexCard Datatable supports two column types that represent Boolean values, and they behave differently:

  • Icon column type: Displays a checkmark icon when the value is the Boolean true and displays no icon when the value is false.
  • Checkbox column type: Displays the value as the text true or false.

The Icon column type renders a checkmark only when the data passed to the column is a true Boolean. Values that look like true but are not Boolean are not recognized, so no icon appears. Examples:

  • Works: A Boolean true value, such as true returned without quotation marks in the JSON data.
  • Does not work: A string value such as "true" (in quotation marks), the text Yes, the number 1, or an empty or null value.

The Checkbox column type shows these values as text, which can make the data look correct even though the Icon column type cannot render it.

Lösung

The following steps confirm that the data supplied to the OmniStudio FlexCard Datatable Icon column type is a true Boolean, and correct the source if it is not. After these steps, the Icon column displays a checkmark for true values.

  1. Open the FlexCard in the FlexCard Designer and select the Datatable element on the canvas. The Datatable properties panel opens.
  2. In the Datatable properties, locate the column that uses the Icon type and note the field name it is mapped to. This identifies which data field must be checked.
  3. Open the Data Source for the FlexCard and preview the response, for example from the Integration Procedure, DataRaptor, or SOQL source. The preview shows the actual values returned for the mapped field.
  4. Check how the mapped field value appears in the response. A true Boolean appears as true or false without quotation marks, while a string appears as "true" inside quotation marks. A string value confirms the cause of the missing icons.
  5. If the value is a string, number, or text label, update the source so that it returns a Boolean. For an Integration Procedure or DataRaptor, set the output field type to Boolean or convert the value in the data mapping. Save and activate the change so the source returns the corrected value.
  6. As a temporary check, change the column type to Checkbox. If the column displays true or false text, the field is populated, and the Boolean format of the field is the remaining item to verify.
  7. Return the column to the Icon type, then preview the FlexCard again. Rows with a Boolean true value display a checkmark icon, and rows with false display no icon.
Nummer des Knowledge-Artikels

000394173

 
Laden
Salesforce Help | Article