Skip to main content
Version: V2 (Ignition 8.1)

tamaki.mes.utils.openNonModal

Description​

Opens a non-modal Perspective popup. Like openModal, a random UUID is generated and passed to the popup view as popupId (and popupType is set to 'popup'). Because it is non-modal, the popup stays open until it is explicitly closed by the operator: useful for keeping a popup open while the user interacts with the rest of the screen.

Must be run in a Perspective session scope.

Syntax​

tamaki.mes.utils.openNonModal(path, params)

Parameters​

ParameterTypeNullableDescription
pathStringFalseThe path to the view used as the popup. It must accept the input parameters popupId plus params.
paramsDictTrueThe parameters to pass to the popup view. popupId does not need to be included. May be None.

Returns​

A String: the generated UUID used as the popup id (useful for closing it later).

Code Examples​

popupId = tamaki.mes.utils.openNonModal(
"TamakiMES/_popups/AccessDenied",
{"message": "You do not have permission to perform this action."}
)