Skip to main content
Version: V3 (Ignition 8.3)

system.mes.dashboard.saveWidgetParameter

Description​

Creates or updates a Dashboard Widget Parameter in the system based on the provided parameters.

Permissions​

This method requires the DASHBOARD.WRITE.SAVE permission.

Syntax​

system.mes.dashboard.saveWidgetParameter(widgetParameter)

Parameters​

ParameterTypeNullableDescription
widgetParameterJSON ObjectFalseThe widget parameter to save. Accepts any serializable parameter.

Returns​

Returns a JSON representation of the saved widget parameter.

Code Examples​

p = system.mes.dashboard.newWidgetParameter()
p['widgetId'] = '01JAP8RJBN-8ZTPXSGY-J9GSDPE1'
p['name'] = 'Chart Title'
p['parameterKey'] = 'title'
saved = system.mes.dashboard.saveWidgetParameter(p)
print(saved)