Skip to main content
Version: V3 (Ignition 8.3)

tamaki.mes.backup.compare.flattenDashboardWidgets

Description

Lifts each dashboard widget's nested parameters into a new top-level dashboardWidgetParameters list, adding the owning widget's name (as widgetName) to every parameter. The entityLists dictionary is mutated in place. Does nothing if there are no dashboard widgets.

Syntax

tamaki.mes.backup.compare.flattenDashboardWidgets(entityLists)

Parameters

ParameterTypeNullableDescription
entityListsDictFalseA mapping of entity type to a list of entity dictionaries.

Returns

This function does not return a value. It mutates entityLists in place, adding a dashboardWidgetParameters list.

Code Examples

tamaki.mes.backup.compare.flattenDashboardWidgets(data)
print(data["dashboardWidgetParameters"])