Aliases
An alias is a reference to one or more entities, used as a data source in dashboard widgets.
Aliases are either static (fixed, pre-selected entities) or dynamic (resolved at runtime based on entity type, relations, or dashboard state).
Create an Alias
Section titled “Create an Alias”Create an alias from the dashboard toolbar, or on the fly while configuring a widget.
From the dashboard toolbar:
- Open the dashboard and switch to Edit mode.
- Click the Entity aliases icon in the toolbar.
- In the Entity aliases dialog, click Add alias.
- Enter an alias name, select a Filter type, fill in the fields it requires, and click Add.
- Click Save to apply.
While configuring a widget:
- Click the pencil icon on the widget to open its settings.
- In the Datasource section, switch to Entity alias.
- Type the new alias name and click Create new.
- Complete the alias configuration and click Add.
- Apply and save the widget — the alias is created and assigned in one step.
Assign an Alias to a Widget
Section titled “Assign an Alias to a Widget”Open the widget’s settings, switch Datasource to Entity alias, and select an existing alias from the dropdown. Add the data keys you need and apply.
Edit an Alias
Section titled “Edit an Alias”- Open the dashboard, switch to Edit mode, and click the Entity aliases icon in the toolbar.
- Click the pencil icon next to the alias you want to edit.
- Update the configuration and click Save.
- Click Save in the Entity aliases dialog to apply your changes.
Delete an Alias
Section titled “Delete an Alias”- Open the dashboard, switch to Edit mode, and click the Entity aliases icon in the toolbar.
- Click the X icon next to the alias you want to delete.
- Click Save in the Entity aliases dialog to apply your changes.
Alias Types
Section titled “Alias Types”The following alias types are available for dashboard widgets.
The Resolve as multiple entities toggle (visible in the alias configuration dialog) controls whether the alias can return more than one entity. It is enabled by default for multi-entity alias types (e.g., Entity list, Entity type) and disabled for single-entity types. Widgets that display a single value (e.g., value cards) work with single-entity aliases; table and chart widgets typically use multi-entity aliases.
Single Entity
Section titled “Single Entity”Points to exactly one entity, chosen by type and name. Example: set Type to Device and the entity to “Thermometer A1” — a widget using this alias shows just that device’s data.
Group Entities
Section titled “Group Entities”Resolves to every entity in one entity group you select. Example: set Type to Device and the entity group to “Thermostats” — a widget using this alias shows every device in that group (Thermometer A1, A2, A3).
Entity List
Section titled “Entity List”Resolves to a fixed list of entities that you pick individually. Example: list Thermometer A1, Compressor BC-10, and Compressor QA-32 — a widget using this alias shows data for exactly those three devices.
Entity Name
Section titled “Entity Name”Resolves to every entity of a chosen type whose name starts with the text you enter. Example: set Type to Device and the name filter to “Compressor” — a widget using this alias shows every device whose name starts with “Compressor” (Compressor BC-10, Compressor QA-32).
Entity Type
Section titled “Entity Type”Resolves to every entity of a chosen type across the tenant, including entities owned by customers. Example: set Type to Device — a widget using this alias shows every device, tenant- and customer-owned alike.
Entity Group List
Section titled “Entity Group List”Resolves to a set of entity groups of a chosen type, picked by name. Example: set Type to Device and list the groups Compressors and Thermostats — a widget using this alias shows those two group names.
Entity Group Name
Section titled “Entity Group Name”Resolves to every entity group whose name starts with the text you enter. Example: set Type to Device and the name filter to “Compressor” — a widget using this alias shows every device group whose name starts with “Compressor” (Compressors).
Entities by Group Name
Section titled “Entities by Group Name”Resolves to every entity that belongs to the group matching an exact name. Example: set Type to Device and the group name to “Compressors” — a widget using this alias shows every device in that group (Compressor BC-10, Compressor QA-32).
Entity from Dashboard State
Section titled “Entity from Dashboard State”Resolves to the entity passed in through a dashboard state parameter — the mechanism behind drill-down dashboards.
When a user interacts with a widget (for example, clicks a table row), a navigation action can pass the selected entity to the next dashboard state as a named parameter. Widgets in that target state then use this alias to automatically show data for the entity the user picked.
Example: A drill-down dashboard where clicking a device row navigates to a detail state showing that device’s data.
- Add a new dashboard state to hold the detail view (for example, named
${entityName}). - Open the settings of the widget that lists your entities (e.g., an entities table), go to its Actions section, and add an action: set the type to Update current dashboard state, the target state to the one you created, and enable Set entity from widget.
- In the detail state, add a widget and set its Entity alias to Entity from dashboard state — leave the state entity parameter as By default unless your action uses a custom parameter name.
- Save the dashboard. Clicking a row in the entities table now opens the detail state showing data for the selected entity.
Owner of Entity from Dashboard State
Section titled “Owner of Entity from Dashboard State”Resolves to the owner of the entity from the current dashboard state — the tenant or customer that entity belongs to, rather than the entity itself.
Use it in customer-hierarchy dashboards to show information about the customer who owns a selected device, without an extra navigation step.
Example: A dashboard showing a device list, with a second widget resolving the owner of whichever device row is clicked.
- Create an alias with filter type Owner of entity from dashboard state.
- Add a widget using that alias as its Entity alias — this is the widget that displays the owner.
- Open the settings of the entities table widget, go to its Actions section, and add an action: source On row click, type Update current dashboard state, with Set entity from widget enabled.
- Save the dashboard. Clicking a device row now updates the owner widget to show that device’s owning customer or tenant.
Asset Type
Section titled “Asset Type”Resolves to assets that match a chosen asset profile, optionally narrowed further by name. Example: set the asset profile to “buildings” and the name filter to “Build” — a widget using this alias shows every building-profile asset whose name starts with “Build” (Building A, Building B).
Device Type
Section titled “Device Type”Resolves to devices that match a chosen device profile, optionally narrowed further by name. Example: set the device profile to “thermometers” and the name filter to “Therm” — a widget using this alias shows every thermometer-profile device whose name starts with “Therm” (Thermometer A1, A2, A3).
Entity View Type
Section titled “Entity View Type”Resolves to entity views that match a chosen type, optionally narrowed further by name. Example: set the entity view type to “Compressors Entity View Type” — a widget using this alias shows every matching entity view (Compressor BC-10 Entity View, Compressor QA-32 Entity View).
Edge Type
Section titled “Edge Type”Resolves to edges that match a chosen type, optionally narrowed further by name. Example: set the edge type to “edge instances” and the name filter to “Edge” — a widget using this alias shows every matching edge (Edge instance 1, Edge instance 2).
API Usage State
Section titled “API Usage State”Resolves to the tenant’s API usage statistics entity — no additional filters needed. A widget using this alias can display its fields directly, such as emailApiState.
Relations Query
Section titled “Relations Query”Resolves to the entities connected to a root entity by relations, traversed up to a chosen depth and direction. Example: set the root entity to asset “District A”, direction to “From”, and the max relation level to 3 — a widget using this alias shows every entity related to “District A” up to 3 levels deep.
Asset Search Query
Section titled “Asset Search Query”Resolves to the assets of chosen profiles connected to a root entity by relations, traversed up to a chosen depth and direction. Example: set the root entity to device “Compressor QA-32”, direction to “To”, and the asset types to “district” and “buildings” — a widget using this alias shows the matching assets connected to that device.
Device Search Query
Section titled “Device Search Query”Resolves to the devices of chosen profiles connected to a root entity by relations, traversed up to a chosen depth and direction. Example: set the root entity to asset “Building A”, direction to “From”, and the device type to “compressors” — a widget using this alias shows the matching devices directly related to that asset.
Entity View Search Query
Section titled “Entity View Search Query”Resolves to the entity views of chosen types connected to a root entity by relations, traversed up to a chosen depth and direction. Example: set the root entity to asset “Building A”, direction to “From”, and the entity view type to “Compressors Entity View Type” — a widget using this alias shows the matching entity views directly related to that asset.
Edge Search Query
Section titled “Edge Search Query”Resolves to the edges of chosen types connected to a root entity by relations, traversed up to a chosen depth and direction. Example: set the root entity to asset “Building A”, direction to “From”, and the edge type to “edge instances” — a widget using this alias shows the matching edges directly related to that asset.
Scheduler Events
Section titled “Scheduler Events”Resolves to the scheduler events attached to a chosen originator entity, optionally narrowed by event type. Example: set the originator to device “Compressor BC-10” and leave the event type empty to match any type — a widget using this alias shows every scheduler event attached to that device.
Subreport Aliases
Section titled “Subreport Aliases”Subreport templates support all standard entity aliases listed above. In addition, they provide two special aliases that resolve to the entity passed from the master report:
| Alias | Resolves to |
|---|---|
| Entity from master report | The entity passed to this subreport by the master report. One subreport instance is generated per entity if the master’s datasource returns multiple. |
| Owner of entity from master report | The customer or tenant that owns the entity passed by the master report |
Report Template Aliases
Section titled “Report Template Aliases”Report templates support all standard entity aliases listed above. In addition, notification-triggered reports provide two extra aliases that resolve to the entity that initiated the report:
| Alias | Resolves to |
|---|---|
| Originator entity | The entity that triggered the notification (e.g. the device that raised an alarm) |
| Owner of originator entity | The customer or tenant that owns the originator entity |
Was this helpful?