To enable working with data blocks in Horizzon, data block definitions with sets of element attributes can be created in Enterprise Studio, and then uploaded to the data block store to make the attributes available for editing in data blocks in Horizzon.
About data block stores
A data block store is a central storage on the server for storing data block definitions. A single data block store contains the data block definitions associated with one model package, or a master model package and all of its projects in case the model package has projects. Each user with an invitation for the model package and/or one of its projects, has access to all data block definitions present in the data block store, whether a data block definition has been created in the model package or in one of its projects.
Because a data block store is bound to a single (master) model package, the server can contain multiple data block stores, one for each model package that has data block definitions. The data block stores, including their definitions, are fully separated from each other. However, each definition must be unique across all data block stores on the server.
Data block store table
To be able to see the data block definitions that are in a data block store, a table with data block definitions can be opened via the Data block definitions view in Enterprise Studio. This table is also used if data block definitions need to be downloaded from the data block store in order to get them in the model package (again).
Uniqueness of data block definitions and their attributes
To prevent any problems having duplicate definitions and/or attributes on the server, a data block definition and its attributes need to be unique. Data block definitions need to be unique across all data block stores on the server. Attributes of a data block definition only need to be unique within the own data block store. To keep a data block definition and its attributes unique, it must meet the following conditions:
- The combination of Namespace+Name (in that order) of a data block definition must be unique across all data block stores.
- The Name of each attribute in the data block definition must be unique within the data block store.
So when creating data block definitions, make sure to keep these conditions in mind. Labels of data block definitions and attributes do not have to be unique, they have only a display value, you can use identical labels if needed.