Aliases

In order to create a dashboard, aliases have to be created first in order to define data from which entities will be used. Aliases can be as easy as referring to a single device or as complicated as creating a complex search query for specific assets from a list.

In this guide aliases will be used on a system with a following scheme:

image

and all devices have “water_level” generated values coming to them.

Alias types

Single entity

This alias allows choosing a single entity. It can be a device, asset, entity view, tenant, customer, dashboard, data converter, scheduler event, blob entity, or current customer. In the example, an alias was created that filters one device, which in this case is Device A.

Let’s learn how to add a Single entity alias:

Let’s use an added alias in a widget:

Now let’s use the added alias in a widget:

Entity list

This alias allows choosing several entities manually without entering a query, which can be devices, assets, entity views, tenants, customers, dashboards, data converters, scheduler events, blob entities, or customers. In this example, an alias was created that filters a list of multiple devices, which in this case are Device D and Device E.

Let’s learn how to add an Entity list alias:

Now let’s use the added alias in a widget:

Entity name

This alias allows choosing one or more entity names that begin with an entered query, which can be devices, assets, entity views, tenants, customers, dashboards, data converters, scheduler events, blob entities, or customers. In this example, an alias was created to filter devices that start with “Device”.

Let’s learn how to add an Entity name alias:

Now let’s use the added alias in a widget:

Now let’s use the added alias in a widget:

Now let’s use the added alias in a widget:

Asset type

This alias allows choosing assets of entered type (and, if needed) names of which begin with an entered query. This alias filters assets of type ‘field’ and with name starting with ‘House’.

Let’s learn how to add an Asset type alias and use it in a widget:

Device types

This alias allows choosing devices of entered type (and, if needed) names of which begin with an entered query. This alias filters devices of type ‘Temperature Sensor’.

Let’s learn how to add a Device types alias and use it in a widget:

Relations query

This alias allows choosing entities which are related to specified originator up to specified level and in specified direction.

In the example alias filters entities that have any relation from Asset ‘Street A’ up to relation level 2.

Let’s learn how to add a Relations query alias and use it in a widget:

This alias filters entities that have any relation from Asset ‘Street A’ up to relation level 2.

Asset search query

This alias allows choosing assets of specified type which are related to specified originator up to specified level and in specified direction. This alias filters assets with types ‘field’ that have any relation to Device ‘Device D’ with relation level 1.

Let’s learn how to add an Asset search query alias and use it in a widget:

Device search query

Device search query This alias allows choosing devices of specified type which are related to specified originator up to specified level and in specified direction. This alias filters devices with types ‘Device’ that have any relation from Asset ‘House C’ up to relation level 1.

Let’s learn how to add a Device search query alias and use it in a widget:

This alias filters devices with types ‘Device’ that have any relation from Asset ‘House C’ up to relation level 1.

Entity view search query

Entity view search query This alias allows choosing entity views of specified type which are related to specified originator up to specified level and in specified direction. An entity view called ‘Device-D-entity-view’ which has ‘contains’ relation to it from Device D was created with a type ‘example-type’ which provides access to ‘water_level’ timeseries from Device D. This alias filters entity views with types ‘example-type’ that have any relation from device ‘Device D’ up to relation level 1.

Let’s learn how to add a Device search query alias and use it in a widget:

This alias filters entity views with types ‘example-type’ that have any relation from device ‘Device D’ up to relation level 1.