Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Widget New Record form

Use these form fields to create widget for your project administration.

FieldDescription
NameUnique name for the widget.
ScriptedOption for indicating the value on the widget is from a code script.By default, this option is selected and is read-only.
Show LabelOption 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.
ActiveOption for indicating the status of the widget.Only active widgets can be shown on the Financials tab of the Project Workspace.
Parent widgetWidget 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 requiredOption for specifying whether a currency formatter is required for the widget.
ScriptCode 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 of the project financial fields, such as capex\_costs, opex\_costs, and budget\_cost. The following sample script returns the Estimate At Completion metric value of a project to appear on the widget. ``` var context = JSON.parse(context); var filter = context.filters; var now_GR = new GlideRecord('pm_project'); gr.addEncodedQuery(filter['pm_project']); gr.query(); if(gr.next()) gr.getValue('forecast_cost'); Collapse ```
Short descriptionDescription of the widget.

Parent Topic:Form field information for Strategic Planning