Add “Association table with user data” as an additional Association option - Mendix Forum

Add “Association table with user data” as an additional Association option

3

With Direct Associations Mendix has taken a big step in simplifying the data model and improving performance. One gap that still hurts in real apps: associations that need their own user data.

For example when you create a Project tracking app to keep an overview of which employee works on which projects, you would have the following entities:

Considering an Employee can work 40% on Project A and 60% on Project B

Today this always means:

 

Proposal

Extend the association model with a third option (next to usual Association and Direct Association):

The “Association table with user data” would:

So from a modeller’s point of view it behaves like “an association with extra fields”, without having to manually design and wire up a separate entity and custom maintenance screens.

Benefits

In short: making “Association table with user data” a first-class association option next to Direct association and Association table would close a real gap in the platform, especially for many-to-many relations that need just a bit more information than a simple link.

asked
1 answers

I like the idea so I'm going to upvote :) but I can see some push back of it not being the "proper" way to handle it.

 

I agree as a low code platform Mendix should try simplify this modelling, but traditional modelling would have that extra joining table in between and go down that route.

 

Now with Views you could try make your own custom queries to try simplify it where needed.

Created