Skip to main content

Dashboard Widget Parameter

Overview

Represents a single configurable parameter for a widget template, including its label, key used by the Ignition View, default value JSON, and editor configuration JSON.

Table Structure

The following table outlines the SQL columns for the dashboard_widget_parameters table, providing a brief description of each, along with sample data where applicable.

ColumnTypeDescriptionExample
idString (ULID)Unique identifier for the entity.01JAP8RJBN-8ZTPXSGY-J9GSDPE1
enabledBooleanIf the entity is enabled or not.true
created_dateDateTimeDate the entity was created.2025-01-01T10:00:00Z
created_byStringPerson who created the entity.TamakiMES
modified_dateDateTimeDate the entity was modified. Value is null upon creation, and gets initially populated upon first edit.2025-01-02T12:00:00Z
modified_byStringLast person to modify the entity. Value is null upon creation, and gets initially populated upon first edit.TamakiMES
notesStringNotes about the entity.Default is empty
spare1StringThe first spare column that can be used for additional context on the entity.extra context 1
spare2StringThe second spare column that can be used for additional context on the entity.extra context 2
spare3StringThe third spare column that can be used for additional context on the entity.extra context 3
widget_idString (ULID)Reference to the dashboard widget this parameter belongs to.01JAP8RJBN-8ZTPXSGY-J9GSDPE1
parameter_type_idString (ULID)Reference to the parameter type that controls how this parameter is edited.01JAP8RJBN-8ZTPXSGY-J9GSDPE1
nameStringDisplay label for this parameter in the configuration UI.Chart Title
descriptionStringDescription of what the parameter controls.Title shown at top of chart
parameter_keyStringThe key used in the widget's view params object (actual parameter name in the view).title
default_value_jsonStringJSON representing the default value for this parameter."\"My Chart\""
editor_config_jsonStringJSON configuring the parameter editor (e.g., dropdown options, ranges).{ "min": 0, "max": 100 }
sort_orderIntegerDisplay sort order of the parameter within the widget configuration UI.0

Field Details

parameter_key

Actual parameter name expected by the widget view.

default_value_json and editor_config_json

JSON strings used to provide initial value and editor configuration.