Field Roles

Basics

The Field Role function allows you to assign a role to individual database fields. The following roles are available:

  • Primary

  • Secondary

These roles are then used by widgets or lists to automatically display certain information from your sensors.

For example, in the device list, you now have the option of displaying the favorite values of a sensor directly in the table or using the new grid view to display each device as a map with all information.

Setting Field Role

Existing Field

Navigate into the database section of your Datacake device.

Now click on the dots button at the right end of a field row. This will open up a context menu where you have to click on "Edit Field".

When you click on "Edit Field" this will open up a configuration modal where you can also set the Field Role. Click on "Role", this will open up a context menu that shows both available field roles. Simply select one and don't forget to press on "Update Field".

Now, you have the option to also select a Field Semantic, which will automatically generate some KPIs in your Device Overview. For more information about that, please refer to:

Field Semantics

New Field

If you are creating a new database field, you have the option to directly set the field role.

Using Field Roles

Device List

Field roles can be used to display measured values of your sensor devices directly in the device list table.

All you need to do is activate which field roles you want to display on the field list. Click on "Columns" and simply select the field roles.

Datacake Device List Field Roles

You can switch your device list from a table view to a grid layout that shows you all devices as cards in a gallery overview.

Datacake Device Gallery View

Inside of Image map and map widgets, you can also display your device's primary or secondary fields, to give users a better overview on their devices.

Last updated

Was this helpful?