622
edits
(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": {...") |
No edit summary |
||
Line 21: | Line 21: | ||
} | } | ||
} | } | ||
"match": { | |||
"field": "Day_Type__c", | |||
"equals": { | |||
"Morning": { | |||
"literal": "AM" | |||
}, | |||
"Afternoon": { | |||
"literal": "PM" | |||
}, | |||
}, | |||
"otherwise": { | |||
"literal": null | |||
} | |||
} | |||
"match": { | |||
"field": "Day_Type__c", | |||
"formatter": "date", | |||
"equals": { | |||
"Morning": { | |||
"targetField": "Start_Date__c" | |||
}, | |||
"Afternoon": { | |||
"targetField": "Placement__r.Start_Date__c" | |||
} | |||
}, | |||
"otherwise": { | |||
"literal": null | |||
} | |||
} | |||
</syntaxhighlight> | </syntaxhighlight> | ||
[[Category:WFM]] | [[Category:WFM]] |