As stated in the comment of Ian the answer can be found in the post https://forum.mendix.com/link/questions/88684
basically explaining that this can be done with a custom setting.
For reference the custom settings are nicely documented under:
https://docs.mendix.com/refguide/custom-settings