Question
Ordina
NL
Last activity: 12 Aug 2022 8:17 EDT
Pattern: using a parameter for label values
Sometimes, you want to show a property with a different label depending on where it is referenced. This can be done by using field values in different classes or rulesets or, or by using a visibility condition on the control with the label.
I though of another approach: we can also pass the label value as a parameter. But, I am using this cautiously, as it might open a whole box of bad reasons why we should avoid this. I'm curious if this design can be leveraged safely for a few use cases, or if there are good reasons why we should always choose a different approach.
Kind regards,
Bas