| Name | Type | Description |
|---|---|---|
| record | sys.data.Record | The record where the action is executed |
| action | sys.data.Action | The action that you want execute. |
Object{} | value -Path to a JavaScript function that calculates or fetches the data to be displayed in the widget. This enables the widget to display relevant and context-specific information, adjusting its appearance and content dynamically based on the calculated values and conditions.
This script can return either a simple value or a structure. If a structure is returned, it can override the default attributes of the widget, including: value, valueStyle, icon, iconStyle, footNote,