Opening a Screen as a Popup
An element on a diagram can open another screen in a popup over the current one, so the operator reads or controls one piece of equipment and never leaves the overview. The usual case is a faceplate or detail screen for a pump, a breaker or a chiller.
How a popup behaves
A screen is a diagram of type Diagram, the kind people open and view on its own. Instances and Templates cannot be opened as a popup. Popups work the same way on the console (the web app), ControlCom One, the HMI panel and the mobile app.
One popup is open at a time. If an element inside a popup has its own popup interaction, the new screen replaces the content of the popup that is already open.
The screen inside a popup is live. Values update as readings arrive and commands are sent exactly as they are on any other screen.
A popup closes when the operator clicks Close in its header, presses Escape, or clicks outside it (unless that
is turned off), and when an element runs the Close Diagram Popup interaction. A navigate or slide-out interaction
inside the popup closes it first and then runs. Open screen, next to Close in the header, closes the popup and
opens its screen full size.
When the viewer is narrower than 640 pixels, the popup fills the viewer and is always modal.
Where a popup is configured
A popup is set up in up to three places.
- On the element that opens it. Select the element, go to Interactions at the bottom of its properties, click Add and choose Open Diagram Popup. Pick the screen to open in Select Diagram.
- On the screen being opened. Open that screen in the editor and, with nothing selected, expand When opened as a popup in the panel on the right. The section is collapsed by default. What you set here is the screen's default popup settings, used by every element that opens it.
- Per button. In the Open Diagram Popup action, turn Override popup settings On to change any setting for that button only. Anything you leave alone keeps the screen's setting. The Position, Shadow and Dim level dropdowns show this as Screen setting (...), with the screen's current value in the parentheses.
Every setting is resolved in the same order: the action's override first, then the screen's setting, then the default.

Popup settings
The same settings appear under When opened as a popup on the screen and under Override popup settings in the action.

| Setting | Default | Meaning |
|---|---|---|
| Width, Height | The screen's size, capped at 85% of the viewer | Size of the popup content area in pixels. |
| Position | Center | Where the popup is anchored: Center, Top left, Top, Top right, Left, Right, Bottom left, Bottom or Bottom right. |
| Offset X, Offset Y | 0 | Pixels to move the popup away from its anchor. |
| Corner radius | 8 | In pixels. Enter 0 for square corners. |
| Shadow | High | None, Low, Medium or High. |
| Scroll horizontally, Scroll vertically | Off | On: the screen keeps its own size on that axis and scrolls. Off: the screen is scaled to fit. |
| Show scrollbars | On | Off hides the scrollbars. The popup still scrolls by wheel, touch and keyboard. |
| Show header | On | Off removes the title bar, including Close and Open screen. |
| Show border | On | The outline around the popup. |
| Modal | On | On blocks the screen behind until the popup is closed. Off lets the operator keep using the screen behind. |
| Dim background | On | Darkens the screen behind. Forced off when Modal is Off. |
| Dim level | Medium | How dark the screen behind is made: Light (25%), Medium (50%) or Dark (75%). Disabled when Dim background is Off. |
| Close on outside click | On | A click outside the popup closes it. Forced off when Modal is Off. |
With Modal Off, the Dim background and Close on outside click toggles and the Dim level dropdown are disabled: the screen behind is never dimmed, and a click on it reaches that screen without closing the popup.
Closing a popup from a button
To close a popup from your own button, select the element, go to Interactions, click Add and choose Close Diagram Popup. The interaction has no settings.
It closes the popup that is open. The button can sit inside the popup, or on the screen behind a popup that is not modal. When no popup is open it does nothing, so a screen that carries a close button still behaves normally when it is opened full size.

Passing values to the popup
If the screen being opened declares local properties, the Open Diagram Popup action lists them once a screen is picked. Each one can be given a value for that button: a text, a number, a Variable or a command. They are set the same way as the values of a component instance, the Instance Ref element described in the diagrams overview.
This is what lets one faceplate screen serve many assets. The faceplate reads its title, readings and commands from its local properties, and each button that opens it passes its own title, Variables and commands.
Example: one faceplate for two generators
An Emergency Power Overview shows two generators, EG-1 and EG-2, each with a button that opens the same Generator Faceplate screen.
The faceplate is 200 by 1200 pixels and declares five local properties: title, output, engineHours,
startCommand and stopCommand. Its When opened as a popup section sets Width to 200, Height to 800, Position to
Top right and Scroll vertically to On. The EG-1 button uses those settings as they are, so the faceplate opens as
a 200 by 800 popup in the top-right corner, at full size, and the operator scrolls to reach the bottom of it.

The EG-2 button opens the same faceplate with two differences. Override popup settings is On with Position
set to Bottom left, so this popup opens in the opposite corner while its size and scrolling still come from the
screen. The button also passes its own values, including a different title and a different startCommand, so the
faceplate names EG-2 and its Start button starts that generator.

Related pages
Creating a Diagram covers the editor, binding elements to data and the other interactions an element can carry. The diagrams overview explains Diagrams, Instances and Templates and where local properties fit.
A faceplate is worth opening once its readings are chosen, which is the job of the Analyze stage: use the Data Explorer to compare Variables before binding them. After Visualize comes the Report stage, where Assets Reports turn the same stored data into formatted compliance reports.




