Conditional Visibility via Microflow - Mendix Forum

Conditional Visibility via Microflow


It would be nice to be able to select a microflow for conditional visibility (anywhere you can currently do it by expression).

I know there’s the ShowByCondition widget, but there are some major performance issues with this widget.

- if something is deemed “not visible”, the xas packets are still sent. For instance, if you have 2 data grids, but the user only sees 1 at a time based on your rules, it will still load the “invisible” one, but just hide it. This does not happen w/ the default Mendix conditional visibility. This is just one example, and there are many different ways/reasons this could be an issue.

- if you want to show one thing or another based on your condition, you have to call the show by condition microflow twice (once for true, and once for false). This is a performance issue and makes it difficult to debug. It would be nice to call one microflow and select the true container, and the false, or just one.

I know this widget isn’t a Mendix widget, but it would be nice to have as Mendix functionality that works within the current Mendix Conditional Visibility, and I think it would make a lot of sense to offer users the ability to use a microflow.

1 answers

See and