Data flexibility allows you to customize the table view of schema fields you create or extend. In the Data Model JSON, you can define the fields to be displayed in the table using the format property to customize their appearance.
With format configuration, you can define the types of fields, format text, display as a tag, add icons, and define icon and color options based on conditions.
Structure
The customized display options have 3 independent moving parts.
Is it a link? It could be a URL (http…) or an email (mailto:…).
Value to be displayed. It could be a number, a string, or a date.
How should it be displayed? It could be a tag or an icon.
Field
Type
Description
link
Optional. string
It is used to add a link.
Examples: {self}, https://{details.accountId}.slack.com
displayValue
Required. object
It is used for formatting the displayed value, string manipulations, specifying decimal places for numeric values, or date display formats.
type
Required. string
Supported types:stringnumberdate
value
Required. string
Examples : {self} , ${details.cost}
decimal
Required*. number
* If the type is number
format
Required*. string
* If the type is date
Example: MMM, dd, YY
label
Optional. object
It is used to display the value as a tag or to add an icon.
type
Required. string
Supported types: icon, tag and progress
options
Required. array of object
It is used to define possible options for conditional color and icon customization, as well as for displaying icons and tags. Supported types: icon and tag
color
Optional. string
You can use named system colors, hex codes, RGB, or HSL.
* Brand logos and Cloud logos do not support custom colors.
Examples : green, #fff000, rgb(255,255,0)
icon
Required*. string
* If the type is icon
You can find available icons on the Icons page.
Examples : slack, application , {self}
value
Optional. string|number
It is used to specify which value the defined icon or tag color will be used for. It is compared or matched with the calculated value.
Examples: Passed, 4 , RUBY
compare
Optional. string
It is used to define comparison options between the calculated value and the defined value.
Supported compares:lessequalgreater
inputType
Optional. string
Specifies the type of input used. Supported types are color , icon, timestamp, date, and date-time.