Filter by specialization - Mendix Forum

Filter by specialization

49

When retrieving a list over association it’s needed regurarly to filter the list by a specific specialization. 

 

For example, in below domain model, I would want to retrieve all cars of a specific owner over association.

asked
3 answers

This is a great idea, sadly not implemented in the last 3 years. Would bring great benefits to many apps.

@Mendix Support, could we get this in the future?

It would be benefitial to even be able to retrieve a list of the generalized entity, but apply filters specilized for the specializations.

Using the original example this would come in handy when filtering for vehicles which can cary a certain freight volume. Cars would ahve a trunk (and/or frunk), but bikes would require an additional entity with compatible cases and trucks would have a list of trailers assigned. Beeing able to filter all vehicles with a single retrieve but applying the filter per specialization would save two additional retrieves and list join actions compared to a current solution.

Created

Thanks Marius, i fixed the image.

Created

Agree, I've been looking for this as well! Especially in a List View I often want to show only a specific specialization.

Note that the included picture doesn't actually have generalizations from Vehicle yet, so that’s a bit confusing

Created