Definition Formatters

From 3B Knowledge
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": {...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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: [
    {
        label: 'Start',
        fieldPath: 'b3s__Start__c',
        formatter: 'dateTime',
        hideIfNull: false,
    },
],
...
{
    "label": "Created date",
    "match": {
        "field": "CreatedDate",
        "formatter": "dateTime";
    }
}