Private constants - Mendix Forum

Private constants


Constants are exposed in the cloud portal to manage its value. This is often very handy, but not always. Some constants are just technical values that need to be reusable, but that do not need to be visible or editable in the cloud portal.


Such constants now clutter the list of constants.

So I suggest to include an option in a constant to make it private so it will not be visible in the cloud portal.

1 answers

I totally agree there is a need for such a configuration constant. The main goal is to unclutter the list of configurable constants, so they should be at least environment independent. Maybe ‘private’ is not the best naming, but having a Boolean property ‘configurable in runtime’ added as setting, just like the ‘offline available’ setting.