Skip to main content

system.mes.dashboard.getDashboard

Description

Retrieves a Dashboard by its ID.

Syntax

system.mes.dashboard.getDashboard(id)

Parameters

ParameterTypeNullableDescription
idString (ULID)FalseThe ID of the dashboard to retrieve.

Returns

Returns a JSON representation of the dashboard.

NameTypeDescription
nameStringThe user-given name for the dashboard.
urlStringURL-friendly version used for page routing.
isPublicBooleanTrue if the dashboard is public.
usernameStringOwner’s Ignition username (null if public).
iconPathStringPath to an icon for the dashboard.
packBooleanEnables auto-size to fit content.
gridStringGrid layout mode (e.g., STRETCH).
rowCountIntegerNumber of grid rows (fixed layout).
columnCountIntegerNumber of grid columns (fixed layout).
rowGutterSizeIntegerVertical spacing between rows (fixed layout).
columnGutterSizeIntegerHorizontal spacing between columns (fixed layout).
instancesJsonStringJSON for Perspective dashboard component props.instances.
idString (ULID)The ULID of the dashboard.
notesStringNotes related to the dashboard.
enabledBooleanIndicates if the dashboard is active and enabled.
spare1StringAdditional field for user-defined context.
spare2StringAdditional field for user-defined context.
spare3StringAdditional field for user-defined context.

Code Examples

db = system.mes.dashboard.getDashboard('01JAP8RJBN-8ZTPXSGY-J9GSDPE1')
print(db)