Creating data instances
While instances of a
Data Type created via the API are runtime instances that appear in the
Runtime Data folder, we can also manually add Static Data with a
Static Data Folder brick.
A bit like enum values, these static data can only be created and edited via the Static Data editor and are part of the project, like the rest of the project’s code base. This means the data are persisted with the project in case it is exported for instance. Static data cannot have relations, and therefore, if there are relations in the Data Type, the editor will not allow you to create static instances.
Runtime data instances on the other hand, can be created and edited via the API and via the Runtime Data editor. Relations can be define for runtime data. These data are not persisted with the project’s code base.