Easy Relations
Defining an easy relation
An easy relation definition can be created in easytypes.json
manifest file. The manifest allows to define the following for an easy relation:
Code of the easy relation
Localized name of easy relation
Super type of the easy relation
Deployment information for many-to-many easy relation
Deployment table name
Deployment type code
Props table name
The Source Element
Qualifier for the source element
Localized name for the source element
Type of the source element
cardinality of the source element.
Collection type of the source element
Example definition for a new easy relation
1:m or n:1 relations
It is advised to define the attribute in the item type for such scenarios at one side and a dynamic attribute with attribute handler to query the items belonging to the other side.
Limitations with Easy Relations
While the Easy relations can be defined at runtime, following points must be of the consideration while creating the Easy relations:
Cleanup of the Easy relations is not supported as part of uninstall process for an easy extension.
Existing standard or easy relations cannot be modified.