Open/close dialog
Open dialog
The Open Dialog action node opens a dialog view in the app. It is available in apps.
Dialog
The dialog to open. Select a dialog view, or bind to a property that holds a view, for example from the built-in View enum. Required.
If a temporary drawer is open, it closes when the dialog opens. A responsive drawer also closes on small screens.
If the selected view doesn't exist, nothing happens. If it is not a dialog view, the action node fails with the error View is not a Dialog, and thus cannot be opened.
Close dialog
The Close Dialog action node closes a dialog.
Dialog
Leave empty to close the dialog in focus. The field then shows Current Dialog. Select a dialog to close that dialog.
If the selected view doesn't exist, nothing happens. If it is not a dialog view, the action node fails with the error View is not a Dialog, and thus cannot be closed. To close a popover, use Close Popover.
Example
A dialog Edit customer has a Save button. Its On Click action runs Persist Objects and then Close Dialog with Dialog left empty. Because the action runs from inside the dialog, the dialog in focus is the one that closes. The same action works if you later reuse it in another dialog.
Was this helpful?