Custom Instances
Manage instances of your custom entities.
Custom Instance is a specific representation of a Custom Entity, which you can define as a data type in the Settings module. It is subordinate to the entity in both structure and context and it can only exist within the framework of its parent entity. Based on the entities you have configured, you can add instances of the entities type. For example, you have created a custom entity for a Car object. Now, based on the entity, you can create different instances of the Car type, for example a Sport Car.
Prerequisite for customizing the custom instances
The properties of custom instances depend on the mixin schema for the corresponding Custom Entity, which serves as the definition for all instances of the entity. To be able to create an instance, first create a custom entity and define its mixin schema with custom fields.
The Custom Instances node is not visible in Management Dashboard until you define it through the Custom Entity in the Management Dashboard Settings.
Adjusting the Custom Instances view
You can modify the default view to make the custom fields visible and searchable in the list view.
Creating a custom instance
Reference types in custom instances
The custom entities schema supports adding fields that reference to other types in the system. This way, their instances can have one-to-one or one-to-many relationship to instances of other custom entities or certain Emporix entities, such as cart, category, customer, customer segment, legal entity, media, order, price list, and product.
When you create an instance of an entity that contains reference fields, you are able to select an entity or multiple entities (depending on the setup) from the dropdown list.

From the edit mode, you can directly navigate to the referenced instances to check their details, or use the convenient option to copy their IDs. Remove the referenced instance by choosing x in the selector bar or - icon next to the item on the list.

Last updated
Was this helpful?



