AtroCore offers highly flexible, scalable and configurable mechanisms that enable customers to manage and use their data efficiently without being tied to rigid structures. You have the opportunity to create your own data structure on your environment according to your own needs. This is what the Entity Manager is for. It allows you to create and delete new entities (tables) and relationships between them, add fields to entities, and configure entity parameters.
To create a new entity in AtroCore go to Administration / Entities
and click on the button Create entity
. The common creation window will open:
Field Name | Description |
---|---|
Type | Type of the entity. Base, Hierarchy and Reference Data types are available for entities |
Code | Entity name |
Disabled | This option makes the entity unavailable for editing. When it is activated, the entity is available only in view mode |
Name Singular | Singular name of the entity that will be displayed in the interface |
Name Plural | The name of the entity in the plural that will be displayed in the interface |
Icon | Icon to be displayed before the entity name in the left side menu |
Color | The color of the icon |
Delete without confirmation | If checked, the individual record is deleted without user confirmation. Deletion of multiple records is still to be confirmed |
Permanent deletion period, days | Records for this entity are permanently deleted XX days after the deletion date. |
Auto-delete period, in days | Records that exist longer than the specified period will be deleted from the system. |
Access Management | In this panel, you configure roles to manage access to the entity. The following options are available here: Owner, Assigned User, Teams, Accounts |
The entity of the Hierarchy type differs from the Basic one in that it allows you to create child records that will inherit the values of fields and attributes from the parent. An additional Hierarchy Management panel with following fields is available for it:
After the entity has been created, you will be able to edit most of these fields. Additional fields also appear in the edit mode:
You can also delete the created entity. System entities cannot be deleted. To delete an entity, click on the triangle on the right side of the table and select Delete
Reference data is an entity type that can be used to store some guide data that has no relationships to other entities and contains a small number of records. All data of this entity is stored in the configuration file. You cannot configure access rights for it, use a filter, or create fields of the link or link multiple type.
A new entity is created with a certain default set of fields. You can add new fields of different types or edit existing ones. New fields can be created for both custom and system entities.
in the Fields panel, you can see all the fields that are contained in the entity. System fields of an entity cannot be deleted. To add a new field click on the Create
button.
The modal window for creating a field opens. The standard set of fields includes:
Save
. The new field is added to the entity. Relationships between entities are established by creating Link (many-to-one) or Multiple link (one-to-many or many-to-many) fields.
To create a many-to-one relationship go to the Fields
panel, click the Create
button and select the "Link" in type field. Relation management panel will appear on the modal window.
Three types of relations are available in AtroCore:
After the field of the Link type is created, you can display any field of the String type of the related entity in the entity's detail or list view (by default it is "Name"). "Brand" is the example of the field of type Link:
If an entity record can be linked to several records of another entity (for example, one Product can have multiple Categories or Channels), use a field of the Multiple Link type.
When creating a field of type Multiple link, the Relationship Management panel contains the field Relation Type
, where you can select One-to-Many or Many-to-Many, depending on how the selected entities should be related. This type of field can be displayed in the entity layout as a field or a relation panel. To display it as a field, select the checkbox Link Multiple Field
. This option enables a handy way to edit relations. But don't use it if you can have a large number of related records.
When you create a many-to-many relationship between two entities, an entity of type Relation is automatically created in the entity manager. The entity name is formed by combining the names of the two entities that form it. By default, the entity has two fields of the link type, which refer to the related base (or hierarchy) entities, as well as the fields id, created/modify at and created/modify by. The additional module Advanced Data Types provides the ability to edit, configure entities of type Relation and display it as a menu item.
You can change Names and Labels of created relations. Set checkbox Link Multiple Field
is you want "Many" relations to be displayed as field on the detail page. Link Multiple field provides a handy way to edit relations. Don't use it if you can have a large number of related records. Link Type and Name can not be edited after creation.
Each entity record in has a unique ID, which is set automatically when a new record is created. PIM uses UUID v7 identifiers, which we convert to ULIDs.
This type of identifiers allows sorting. This means that the records that were created most recently will be at the top of the table by default.
When creating a record from the user interface, you cannot set your own IDs, but it is possible when creating records by import.