NEW Create/Edit/Delete Semantic Templates

Semantic template represents a mold based on which semantics can be created on the platform. For semantics that are using a template, the template represents their semantic type. User can add provide attributes, feeds, actuators and alarms and map them to the source of data - feeds to device sensors, actuators to device actuators, and alarms to device alarms.

Create Semantic Template

To create a semantic template:

  • On the Semantic Template screen, click the Add button

  • You will be prompted to the Create Semantic template screen
  • Enter semantic template name
  • Enter semantic template description (optional)
  • Click Save

Add Attribute

To add an attribute to the semantic template:

  • Click on the Add button and then click on Attribute inside the menu


  • This will open the Add new attribute sidebar
  • Enter attribute name
  • Select attribute type from the drop-down list - String, Numeric, Boolean, or Location
  • If you check the Required checkbox, it will be mandatory to add an attribute to the semantic group which is created based on a template
  • Click on Add

Add Feed

To add a feed to the semantic template:

  • Click on the Add button and then click on Feed inside the menu

  • This will open the Add new feed sidebar
  • Enter feed name
  • Select reading type (type in at least 3 characters)
  • Select unit from the drop-down list
  • Click on Add

Add Actuator

To add an actuator to the semantic template:

  • Click on the Add button and then click on Actuator inside the menu

  • This will open the Add new actuator sidebar
  • Enter actuator name
  • Enter reading reading type (type in at least 3 characters) - String, Switch, or Count (Slider)
  • Click on Add

Add Alarm

To add an alarm to the semantic template:

  • Click on the Add button and then click on Alarm inside the menu

  • This will open the Add new alarm sidebar
  • Enter alarm name
  • Click on Add

Edit Semantic Template

Semantic template can be edited only if there are no semantic groups created based on that template. If a semantic is created from a template, the template represents its type and contains all of its metadata. Therefore, templates that are in use can’t be modified.

To edit a semantic template (requires Write access permission for Semantic Template):

  • On the Semantic Templates screen, click on the template you want to edit

  • This will open the Edit Semantic Template screen
  • Edit template data
  • Click on Update to save the changes

Note: You can only edit a semantic template if it is not used by a semantic group

Delete Semantic Template

To delete a semantic template (requires Write access permission for Semantic Template):

  • Select the checkbox next to the semantic template you want to delete
  • Click the Delete button

  • A new dialog will appear asking you to confirm the action

  • Click Delete

Note: You can delete a semantic template only if there are no semantics using it.