Widget form
Use the widget form to configure a new widget.
| Field | Description |
|---|---|
| Name | Unique name for the widget. |
| Scripted | Option for indicating the value on the widget is from a code script. By default, this option is selected and is read-only. |
| Show Label | Option for displaying either the label or the color indicator. If you clear the check box, the Color field appears and you can set the color. |
| Active | Option for indicating the status of the widget. Only active widgets are shown on the Demand Financials page. |
| Parent widget | Widget that is the parent of the current widget. The current widget displays in the Child widgets related list of the selected widget. You can add a maximum of three child widgets for a parent widget. |
| Formatter required | Option for specifying whether a currency formatter is required for the widget. |
| Script | Code script that returns a requested metric value that is displayed on the widget. In the script, use the context and filter objects. The context object contains all the demand financial fields, such as total_costs, irr_value, and capital_budget. The following sample script returns the capital budget metric value of a demand to appear on the widget. |
| Short description | Description of the widget. |