Skip to main content
Version: V2 (Ignition 8.1)

system.mes.dashboard.deleteWidgetParameter

Description​

Deletes a Dashboard Widget Parameter by its ID.

Permissions​

This method requires the DASHBOARD.WRITE.DELETE permission.

Syntax​

system.mes.dashboard.deleteWidgetParameter(parameterId)

Parameters​

ParameterTypeNullableDescription
parameterIdString (ULID)FalseThe ID of the widget parameter to delete.

Returns​

If successful, an ApiResponse Object is returned with the success bool set True. If unsuccessful, an exception may be thrown.

NameTypeDescription
successBooleanIndicates if the delete was successful.
messageStringThe reason why the deletion was successful or unsuccessful.
dataStringThe data associated with the deletion.
errorStringThe errors associated with the deletion.

Code Examples​

system.mes.dashboard.deleteWidgetParameter('01JAP8RJBN-8ZTPXSGY-J9GSDPE1')