Definition Formatters
Revision as of 20:20, 25 December 2024 by Admin (talk | contribs) (Created page with "Data formatters available in the definition are: Date (will convert to local user's date preference), Time (will convert to a 12/24hr clock) and Date Time. You can use formatters in: * title definitions * matchers <syntaxhighlight lang="json"> ... title: [ { label: 'Start', fieldPath: 'b3s__Start__c', formatter: 'dateTime', hideIfNull: false, }, ], ... { "label": "Created date", "match": {...")
Data formatters available in the definition are: Date (will convert to local user's date preference), Time (will convert to a 12/24hr clock) and Date Time. You can use formatters in:
- title definitions
- matchers
...
title: [
{
label: 'Start',
fieldPath: 'b3s__Start__c',
formatter: 'dateTime',
hideIfNull: false,
},
],
...
{
"label": "Created date",
"match": {
"field": "CreatedDate",
"formatter": "dateTime";
}
}