Provision entity view
An entity view exposes a selected subset of a device’s or asset’s attributes and time series, so you can share that data without granting access to the full entity. For a general introduction, see Entity views.
On ThingsBoard Edge, you can create entity views on the Edge or assign them from the server.
Create an entity view on Edge
Section titled “Create an entity view on Edge”-
In the Edge UI, go to Devices & assets > Entity views and click Add entity view.
-
Enter a name, select the target entity, choose the attributes and time-series keys to expose, and click Add.
The entity view is pushed to the server automatically. To check, go to Devices & assets > Entity views on the server.
Assign entity views from the server
Section titled “Assign entity views from the server”Entity views reach an Edge through entity view groups:
-
On the ThingsBoard server, add the entity views to an entity view group.
-
Go to Edge management > Edges and click the Edge. On the Details tab, click Manage entity view groups.
-
Click Assign to edge (+), select the group, and click Assign.
The entity views of the group appear on the Edge under Devices & assets > Entity views. The target entity of an entity view must also be assigned to the Edge, for example through a device group, so that the entity view shows its data.
Unassigning the group removes its entity views from the Edge. They stay on the server.
Was this helpful?