Aliases
An alias references one or more entities and serves as a widget data source.
Aliases are static (pre-selected entities) or dynamic (resolved at runtime by entity type, relations, or dashboard state).
Create an Alias
Section titled “Create an Alias”Create an alias from the dashboard toolbar or 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 its fields, and click Add.
- Click Save.
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 a new one!.
- Configure the alias and click Add.
- Click Apply and save the dashboard. 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 settings, switch Datasource to Entity alias, and select an alias. Add the data keys and click 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.
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.
Alias Types
Section titled “Alias Types”The following alias types are available for dashboard widgets.
The Resolve as multiple entities toggle in the alias dialog controls whether the alias can return more than one entity. It is enabled by default for multi-entity types, such as Entity list and Entity type, and disabled for single-entity types. Single-value widgets, such as value cards, use single-entity aliases; tables and charts typically use multi-entity aliases.
Single Entity
Section titled “Single Entity”Resolves to one entity, chosen by type and name. Example: set Type to Device and the entity to “Thermometer A1” — the widget shows only that device’s data.
Group Entities
Section titled “Group Entities”Resolves to every entity in the selected entity group. Example: set Type to Device and the entity group to “Thermostats” — the widget shows every device in that group (Thermometer A1, A2, A3).
Entity List
Section titled “Entity List”Resolves to a fixed list of individually selected entities. Example: list Thermometer A1, Compressor BC-10, and Compressor QA-32 — the widget shows data for those three devices only.
Entity Name
Section titled “Entity Name”Resolves to every entity of a chosen type whose name starts with the entered text. Example: set Type to Device and the name filter to “Compressor” — the widget 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 in the tenant, including customer-owned entities. Example: set Type to Device — the widget shows every device.
Entity Group List
Section titled “Entity Group List”Resolves to selected entity groups of a chosen type. Example: set Type to Device and list the groups Compressors and Thermostats — the widget shows those two group names.
Entity Group Name
Section titled “Entity Group Name”Resolves to every entity group whose name starts with the entered text. Example: set Type to Device and the name filter to “Compressor” — the widget shows every device group whose name starts with “Compressor” (Compressors).
Entities by Group Name
Section titled “Entities by Group Name”Resolves to every entity in the group with an exact name match. Example: set Type to Device and the group name to “Compressors” — the widget 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 basis of drill-down dashboards. A widget action, such as a click on a table row, passes the selected entity to the target state, and widgets in that state use this alias to show its data.
Example: clicking a device row opens a detail state with that device’s data.
- Add a dashboard state for the detail view (for example, named
${entityName}). - In the settings of the widget that lists your entities, such as an Entities table, add an action with the type Navigate to new dashboard state, select the new state as the target, and enable Set entity from widget.
- In the detail state, add a widget that uses an Entity from dashboard state alias. Keep the state entity parameter as By default unless the action uses a custom parameter name.
- Save the dashboard. Clicking a row in the table now opens the detail state 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 it belongs to. Use it in customer-hierarchy dashboards to show the owner of a selected device without extra navigation.
Example: a device list with a second widget that shows the owner of the clicked device.
- Create an alias with filter type Owner of entity from dashboard state.
- Add a widget that uses this alias to display the owner.
- In the Entities table widget settings, add an action with the source On row click and the type Update current dashboard state, and enable Set entity from widget.
- Save the dashboard. Clicking a device row now shows that device’s owner in the second widget.
Asset Type
Section titled “Asset Type”Resolves to assets of a chosen asset profile, optionally filtered by name prefix. Example: set the asset profile to “buildings” and the name filter to “Build” — the widget shows Building A and Building B.
Device Type
Section titled “Device Type”Resolves to devices of a chosen device profile, optionally filtered by name prefix. Example: set the device profile to “thermometers” and the name filter to “Therm” — the widget shows Thermometer A1, A2, and A3.
Entity View Type
Section titled “Entity View Type”Resolves to entity views of a chosen type, optionally filtered by name prefix. Example: set the entity view type to “Compressors Entity View Type” — the widget shows Compressor BC-10 Entity View and Compressor QA-32 Entity View.
Edge Type
Section titled “Edge Type”Resolves to edges of a chosen type, optionally filtered by name prefix. Example: set the edge type to “edge instances” and the name filter to “Edge” — the widget shows Edge instance 1 and Edge instance 2.
API Usage State
Section titled “API Usage State”Resolves to the tenant’s API usage statistics entity; no filters are required. Widgets can display its fields, such as emailApiState.
Relations Query
Section titled “Relations Query”Resolves to the entities connected to a root entity by relations, traversed in a chosen direction up to a chosen depth. Example: set the root entity to asset “District A”, direction to “From”, and the max relation level to 3 — the widget shows every entity related to “District A” up to 3 levels deep.
Asset Search Query
Section titled “Asset Search Query”Like Relations query, but returns only the assets of the chosen profiles. Example: set the root entity to device “Compressor QA-32”, direction to “To”, and the asset types to “district” and “buildings”.
Device Search Query
Section titled “Device Search Query”Like Relations query, but returns only the devices of the chosen profiles. Example: set the root entity to asset “Building A”, direction to “From”, and the device type to “compressors”.
Entity View Search Query
Section titled “Entity View Search Query”Like Relations query, but returns only the entity views of the chosen types. Example: set the root entity to asset “Building A”, direction to “From”, and the entity view type to “Compressors Entity View Type”.
Edge Search Query
Section titled “Edge Search Query”Like Relations query, but returns only the edges of the chosen types. Example: set the root entity to asset “Building A”, direction to “From”, and the edge type to “edge instances”.
Scheduler Events
Section titled “Scheduler Events”Resolves to the scheduler events of a chosen originator entity, optionally filtered by event type. Example: set the originator to device “Compressor BC-10” and leave the event type empty to match any type — the widget shows every scheduler event of that device.
Subreport Aliases
Section titled “Subreport Aliases”Subreport templates support all aliases listed above, plus two aliases that resolve to the entity passed from the master report:
| Alias | Resolves to |
|---|---|
| Entity from master report | The entity passed from the master report. If the master report’s datasource returns several entities, one subreport instance is generated per entity. |
| Owner of entity from master report | The customer or tenant that owns that entity. |
Report Template Aliases
Section titled “Report Template Aliases”Report templates support all aliases listed above. Notification-triggered reports add two aliases that resolve to the entity that initiated the report:
| Alias | Resolves to |
|---|---|
| Originator entity | The entity that triggered the notification, for example, the device that raised an alarm. |
| Owner of originator entity | The customer or tenant that owns the originator entity. |
Was this helpful?