OpenDialogWindow

Opens a content page in a dialog.

Use

The function is called event-driven and can be found in the Actions and Conditions editor under Functions > BuildingAutomation.

Parameter

Content

tchmi:framework#/definitions/ContentPath

Path to the content to be displayed.

Buttons

tchmi:framework#/definitions/TcHmi.BuildingAutomation.DialogWindowButtons

Buttons for closing or confirming the dialog.

Modal

tchmi:general#/definitions/Boolean

Determines whether the dialog is opened modally or not.

Scrolling

tchmi:framework#/definitions/ScrollMode

Determines whether the content can be scrolled.

Headline

tchmi:general#/definitions/String

Title of the dialog.

Width

tchmi:general#/definitions/Number

Width of the dialog.

WidthUnit

tchmi:framework#/definitions/MeasurementUnit

Unit of the width of the dialog.

Height

tchmi:general#/definitions/Number

Height of the dialog.

HeightUnit

tchmi:framework#/definitions/MeasurementUnit

Unit of the height of the dialog.