Skip to content

Entity Relations Tab

Marius edited this page Aug 22, 2014 · 3 revisions

Entity Relations Tab

This tab will appear when you have at least 2 entities.
In this tab you will see a list of all possible combinations of 2 entities you can have.
For each of these combinations you will have a dropdown between the entity names with the available relation types.

  • --Has no relation with-- - The entities are not related in any way.
  • Is parent for - The first entity acts as a parent for the second one. A field / attribute will be added to the second entity table as a reference to the first entity. When you will add/edit the second entity you will see a dropdown with the instances of the first entity.
  • Is child of - The first entity acts as a child for the second one. A field / attribute will be added to the first entity table as a reference to the first entity. When you will add/edit the first entity you will see a dropdown with the instances of the second entity.
  • Is sibling with - The entities are in a many to many relation. A new table will be created to support this relation containing the ids of each entity. On each of the 2 entities add/edit form you will see an additional tab from which you can establish the related entity instances. Similar to how the product tab is on the category add/edit page.
entity relations
Clone this wiki locally