Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 81216

How do I filter a Reference Set based on a field with no relationship to my Data View entity?

$
0
0

Employees have a *:1 relationship to Office. Offices have a *:1 relationship to regions.

To make selecting an office easier, I'd like to have a dropdown of Regions that you could select from so that you'd then only see the related offices. For example, if I'm in the Northwest region, I pick that and then see only offices from the Northwest region.

I know that I can do this by creating a *:1 relationship between Employee and Region; however, I feel like this is bad design. It fundamentally allows an employee to have a relationship to Region that is different than the relationship between Office and Region (i.e. the proper relationship). I can say "just ignore that relationship except for lookups" but it still feels wrong.

Any idea on how to accomplish this? I could probably open some other form to allow the selection / filtering, but I don't feel like that's not a great user experience.


Viewing all articles
Browse latest Browse all 81216

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>