Entity data store

Explanation on EntityDataStore and entities.

The EntityDataStore enables storing data in web-apps for various purposes:

  • Store data throughout a user session (e.g. for multiple steps of ControlPanels)
  • Store data for future user sessions (keep data after refreshing or logging out).
  • Store lists (e.g. projects) of data within a web-app

The EntityDataStore is a container of entities with the same properties (structured). Imagine an Excel table with multiple rows and columns. The rows represent the entities and the columns represent the properties per entity.

The EntityDataStore defines the structure of the data (e.g. “property-a” must be of type “Number”) and contains all the entities. It’s possible to filter the EntityDataStore by properties to find only the entities that match.

Entities contain the values for the specified properties.

Since the entities are just data and not visible in the user interface, often they’re used with the EntityTable block to display, select and delete entities in the user interface. In this case you can:

  • Insert an entity with a ControlPanel
  • Select an entity by clicking a button in the EntityTable.
  • Update the values in an existing entity with a ControlPanel

See the EntityDataStore configuration docs for more information.