Bidirectional Many-To-Many Relationship

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • alemorse
    Junior Member
    • Aug 2022
    • 2

    Bidirectional Many-To-Many Relationship

    Hello,

    I have created a custom entity named "Person" and would like to create a bidirectional Many-To-Many relationship between different people. When I create the relationship, it creates the separate fields "personLeft" and "personRight". I would like to make it so that those two fields are merged as one. For example, if I am on Person A's page, and I create a link to Person B, the association should be visible on both pages, within the same field.

    Thanks in advance for the help!
  • victor
    Active Community Member
    • Aug 2022
    • 728

    #2
    Hi, @alemorse
    Two fields will be created so that you do not get confused in the connections between them. The idea is that it should be considered as "A" block (a block that includes two fields).
    For example, let's call our block (panel) as you planned to call the single field. That is, you blur that the block includes what you need, but the relation itself in this block will be on the left if you are in record "A". But if you are in record "B", then the block will display relation - right
    Last edited by victor; 08-12-2022, 07:42 AM.

    Comment

    Working...