Announcement

Collapse
No announcement yet.

Link entity to itself

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Link entity to itself

    1. I have created an Entity called 'Product'.
    2. I have then created a many-to-many relationship between Product back to Product (itself) and named it 'Related Product'
    3. I added the 'Related Product' to the Bottom Panel Layout of Product.

    It now works great one way, i.e. if I link Product B to Product A, I can see Product B listed on the Product A page. But, I also want to see Product A on the page for Product B (as they are now related).

    What I have now means I have to create a new link for Product A to be listed on the page for Product B

    How can I list links bi-directional?

  • #2
    Hi there,
    I haven't yet tested it but why do you create another relation? If you have a Many-to-Many type relationship you can:
    - add "A" sub-panel to the "B" entity within Layout Manager
    - add "B" sub-panel to the "C" entity within Layout Manager

    BTW, you mentioned you named your custom entity as Product. Please note that a Sales Pack extension also has the Product entity. It will cause conflict if you will try to install it on your system.

    Comment

    Working...
    X