Common Data

Common Data is a custom data storage facility that may be used by various Iotellect Server components and plugins to perform specific operations, such as data replication, data sharing and configuration management. See Uses Of Common Data for details.

Common Data module is deprecated in favor of Models. Models fully cover all Common Data functionality and should be used instead. Common Data module may not be available in future Iotellect releases.

The Common Data container is like a database, built of tables, supporting the following operations:

  • Creating tables: The Common Data container supports creating a number of tables. The only restriction is that all the tables inside a Common Data must have a unique name. Every table has both a name and a description, but the description doesn't have to be unique.
  • Removing tables: A table inside a Common Data node may be removed, along with all data it contains.
  • Defining and modifying table structure: The user (or a specific plugin) may dynamically change the structure of a table in a way suitable for a task being performed.
  • Viewing and editing data: Users can view and modify the contents of a Common Data table.

A common table is a Data Table of a user-defined format which is administered using the Common Data context, and which may be accessed by different users or Devices.

Common Data Containers

Every Common Data container is represented by a Common Data context. Containers are owned by Iotellect Server users. Every uses has his own Common Data context with a path like users.USER_NAME.common. A user can use his Common Data Container to store data that should be shared between his Data Terminals or Groups, such as a logo file that all Devices should display. See Uses of Common Data for details.

Administering Common Data

Two types of contexts are used to administer common data (and the tables containing it): one is the Common Data context, which serves as a container for several common tables. The other is the Common Data Table context, which holds the information for one common table.

Was this page helpful?