Dynamic Attributes

This section may contain outdated information about UI. It will be updated soon.

Dynamic attributes are additional entity attributes that extend the data model without changing the database schema and restarting the application. It allows you to define new entity properties at the deployment or production stage.

Dynamic attributes are stored in the main data store in an Entity-Attribute-Value structure. The framework automatically loads and saves values of dynamic attributes together with entity instances.

Users can view and edit dynamic attributes in tables and forms of existing application views in User Interface.

Jmix provides UI to configure dynamic attributes. An administrator can define a name, a type, validation rules, and specify what UI views and visual components will display a dynamic attribute.

Installation

For automatic installation through Jmix Marketplace, follow instructions in the Add-ons section.

For manual installation, add the following dependencies to your build.gradle:

implementation 'io.jmix.dynattr:jmix-dynattr-starter'
implementation 'io.jmix.dynattr:jmix-dynattr-flowui-starter'