Skip to content

Manage dashboards

eaxScadaHow-to guideStarterProEnterpriseView as Markdown

Migrated page, not yet verified against the current code. Treat values, paths and examples as indicative until this notice is removed.

The project has a dashboard per area and one for the shift handover. You create them, open them by name, copy one as the start of another, and delete only what nothing uses.

Open Dashboards in the left bar. The button left of the toolbar names the open dashboard; click it for the menu:

The dashboard menu: the project’s dashboards with their card counts, New dashboard, Rename, Duplicate and Delete. The dashboard menu: the project’s dashboards with their card counts, New dashboard, Rename, Duplicate and Delete.

The dashboard menu.
Entry Does
a dashboard name opens it (a search box appears past 8 dashboards)
New dashboard asks for a name and creates an empty grid; nothing is proposed
Rename changes the name; the id stays
Duplicate a copy with a new id and the same cards
Delete (rose) asks first, naming the dashboard

Arrow keys, Home and End move in the menu; Escape closes it. A project without dashboards shows No dashboards yet with a New dashboard button.

You try Answer
to delete a dashboard that a project page (primary view or dock) or a dashboard object on a screen shows 409 in_use, with where it is used: change those first
to save or delete from a copy someone else has changed since 409 stale: the list is reloaded; make the change again
to create one without a name refused: a name is required (at most 120 characters)
to save, from an older editor, over a dashboard that holds newer content (time range, variables) 409 schema_newer: “uses a newer format … reload the page to edit it”. Nothing is dropped
to put a dashboard variable (${...}) in a command card, an interlock tag, a confirmation or a display card’s screen 400 VARIABLE_IN_COMMAND_FIELD, naming the card and the field
to add or change a custom card’s code without the right 403 code_permission_required (DASHBOARD_CODE_PERMISSION); see Card code
to go past a save limit (below) 400, with a code, the card and the field

Every create, rename, duplicate and delete is recorded in the operations audit (category DASHBOARD). The list is the server’s only: the copies earlier versions kept in the browser are removed.

The server checks every dashboard it saves:

Check Limit
cards per dashboard 48
custom chart cards 6
queries per card 8
tags per query / per dashboard 50 / 200, no wildcards
code of a card 64 KiB
options of a card 256 KiB
colours a theme token or #rrggbb
links to this server only
card kinds known kinds only (a kind already stored is kept)

Dashboards are saved in format version 2 (schemaVersion: 2): a dashboard can hold panel cards, a time range, a refresh interval and variables that the panel cards share. Dashboards saved before open unchanged. The server keeps every field it is sent (it used to drop the ones it did not know) and never stores the editor’s mode.

The first time each dashboard is opened after the upgrade it gets a new revision, so an editor tab open at that moment says once that the dashboard was changed by someone else: reload it.

Before a downgrade, back up the dashboards (data/dashboards). An older server does not know the version 2 fields, and an older editor’s save over such a dashboard is refused (409 schema_newer).

A dashboard variable can choose what a panel card shows. It can never choose what a command writes: a ${...} in any field of a command card, in an interlock tag, in a confirmation or in a display card’s screen is refused when the dashboard is saved (400 VARIABLE_IN_COMMAND_FIELD). Commands, interlocks and screens are named literally, and the write policy reads them as they are written.

The time range, the refresh and the variables are set in Dashboard settings and changed in the dashboard’s toolbar: Time range, refresh and variables.

Panel cards read through POST /api/dashboards/query (HTTP API). Every signed-in role may call it; each sub-query is checked against the viewer’s own read rights, so a tag the viewer may not read is not returned. Each value keeps its quality and its simulated flag.

The dashboard also sends two request-only sources in the same request. Neither can be saved in a card: a save that holds one is refused (400 INVALID_QUERY).

Source Sent for Filter Answer
alarm_limits a card with Show alarm limits (Show alarm limits) the card’s tags (at most 50) one row per alarm definition with a value line on one of the tags, in alarm id order: tag, kind (HH, H, L, LL, DH, DL, EQ, NE), value, condition, severity, alarm_id, name. The definitions are those the viewer may read; a tag the viewer may not read refuses the whole sub-query (forbidden, no limit of any tag). Never cached
shifts the toolbar’s shift ranges and shift variables at (Unix ms, default now), calendar (one calendar; default all); no tags two frames: windows (calendar, shift, offset 0 for the shift that holds at and -1 for the one before it, from, to in ms) and shifts (calendar, shift, start as HH:MM on the site clock). Without a shift calendar (no reports.shifts, or Analytics and Reports not in the licence) both frames are empty, never a refusal

Dataset cards (Pro) read through POST /api/reports/datasets/{id}/view, the dataset preview’s read for viewing, with the same rights. Its audit record is written once per user, dataset, parameters and outcome per hour (Dataset reads for viewing).

Add card opens the card picker: the new cards grouped Time (Time series, State timeline), Values (Stat, Gauge, Bar gauge), Records (Table, Alarm list, Bar / pie, Pareto, Text) and Custom (Custom chart), and the cards of earlier releases under Classic. The new cards only read: they share the dashboard’s time range, refresh and variables, and none of them writes a tag. How to set one up: Build a dashboard. What each shows: Dashboard cards.

The classic cards are values, gauges, trends, alarm tiles, faceplates, command cards and custom cards (HTML, SVG and JavaScript in the shared code editor). The trend, KPI, sparkline, gauges and alarm summary offer Convert to new card in their settings: explicit and undoable, never automatic. A card that writes goes through the same guarded write as a screen: the server checks the permission, the limits (a faceplate’s setpoint limits included), the confirmation and the signature. A command is reported done only when the server accepted it.

The command cards (push button, batch reactor START / STOP, pump, PID mode and setpoint) have two settings of their own:

  • Confirmation: none, require (a confirmation dialog) or e-signature (the signed-in user’s password). The server requires it for the card’s tags from every client.
  • Interlock tag: the card’s commands are disabled (INTERLOCKED) while the tag is not 0, missing or Bad, and the server refuses them (409 interlocked).

The batch reactor’s E-STOP is never asked and never interlocked; with Show the START / STOP / E-STOP buttons off the reactor card is read-only. A push button without an output tag is drawn disabled. The alarm summary card acknowledges through the acknowledgement dialog (reason required, the signer is the signed-in user): ACK for one alarm, ACK VISIBLE (n) for the unacknowledged alarms the card shows.

The dashboard editor has two modes: Edit Layout, where you place and size the cards and their own buttons are disabled so nothing is operated while you arrange them, and Live Operator, which shows the dashboard as operators see it, cards interactive. The edit mode has this one name in the toolbar, the help and these pages (its toolbar button used to read “Edit Matrix”).

The cards’ own texts follow the operator’s runtime language in the operator view, and the Studio language in the editor (languages); what a command writes is the same in every language.

A command card’s texts follow the operator’s language too: the interlock reason on the disabled buttons (“Interlocked: …”) and on the card’s chip (“Commands disabled: …”), the confirmation dialog, the e-signature dialog and the success message once the server accepted the command. What is signed and recorded does not change with the language: the e-signature dialog shows the signed meaning word for word, in English as the server records it, under a translated Meaning label, and the audit reason stays English. When the interlock is active, when a card is disabled and what it writes are the same in every language.

Every edition gets every card, the custom card and the custom chart included.

A custom card’s HTML, CSS and JavaScript run in a sandboxed frame under a strict content policy: no network and no outside address, of another server or of this one. Images and fonts load only when inline in the card (data: URLs); a blocked load shows the error line Blocked: outside address. A card that opens another address is stopped and shows This card tried to open another address and was stopped; the first request of that navigation has already left the browser. The card receives values and cannot write tags. Custom card

Adding or changing a custom card’s HTML, CSS or JS, or the script of a custom chart card, needs the feature right dashboards.code (family Dashboard code, wildcard dashboards.*). That code runs in the browser of everyone who opens the dashboard.

Who dashboards.code
Lead_Engineer, Administrator held by default, in every edition (no migration)
Process_Supervisor, Shift_Operator, the auditor, a custom role below the engineer level never, even with an ALLOW rule
the AI co-pilot never, whatever its other roles
anyone matched by a DENY on dashboards.code, dashboards.*, *, feature:* or a matching prefix refused, the Administrator included (who keeps security administration and can remove the rule)

Without the right, a dashboard whose code is unchanged can still be saved, and code can be removed. Copying a card that has code counts as adding code. The custom chart’s JSON option needs no right. A refused save answers 403 (code_permission_required, DASHBOARD_CODE_PERMISSION) and writes a DASHBOARD_CODE_REFUSED security audit entry; the DASHBOARD audit records of create, rename, update and duplicate list each code change by its SHA-256 (code_changed). Add a feature permission rule

A dashboard narrower than its grid (824 px) shows its cards one per row, in reading order, in the operator view; it is never cut off.

The deploy manifest carries the project’s dashboards, and the review of a deploy shows them in project.json: deploy after you change a dashboard. The operator runtime draws only deployed dashboards: one that was never deployed shows “This screen is not deployed.”, and a change waits for the deploy (with live editing on, it goes live at once). With live editing off, the studio’s list of changes operators do not have yet names each changed dashboard. Operators open a dashboard from a project page whose view is the dashboard.