Import constants from a file - Mendix Forum

Import constants from a file

6

Sometimes constants can vary between Test/Accp/Prod environments, or perhaps something external has changed. Updating pages of constants via the Mendix Platform UI is quite painful and prone to input errors. How about we could just upload a text file or spreadsheet with the new key and value pairs (just like we can download one)?

asked
3 answers

Yes, a better way configure Mendix’ environment variables (or ‘constants’ as Mendix calls them unfortunately) is the part I like.

But rather than storing the configurations in a text-file and uploading them, better would be to create a better view in sprintr, showing a matrix of vertical: all variables and horizontal: all environments. Including history per restart and copy-paste functions.

Created

Thanks for that Andries, that is extremely helpful. I would, like you, still like to see it work “out of the can”.

Created

Hi Olly,

There is a way is described in the community meetup (at 05:40) https://video.mendix.com/watch/YeY2LzmikSFyGq2qLFnJvH @

Thank you @Jean Botha

Though I upvote the suggestion, in the hope Mendix better and out of the box. 

Cheers, Andries

Created