many-to-many relationships
Confluence User - 07 May, 2018
Hi there
What is the best way to achieve many-to-many relationships in Joget? Here's a hypothetical scenario that explains the question:
- I have a 'suppliers' table with a list of suppliers
- I have a 'products' table with a list of products
- Products can be offered by many suppliers, suppliers can offer many products
What is the best way to achieve this in Joget whilst maintaining a normalised data structure? I want to create a project form where I can add suppliers to products by looking them up. When looking up suppliers I want to see details (e.g. their location) and I only want to store the supplier Id against / product Id combination.
Thanks for your help!
Edit: changed the example from employee/project to supplier/product as this is probably a better example of non standard functionality.
forms;datalists