Hello!
When creating graphs, I use specific global parameters to test them in sandbox environments. Is there an easy way to switch those parameters when moving to production?
tks in advance
Hello Thierry,
YES of course: simply use the magic character (the ‘>’) at the start of the field and the parameter becomes dynamic and is defined as a ‘Global Parameter’. I’d also advise you to put the desired “Global Parameters” directly into
.cfg files (one .cfg file for the SANDBOX and another .cfg file for production). As a reminder, to read the value of the “Global Parameters” from a .cfg file, you need to use this box (getParametersFromFile):
In fact, the most straightforward approach is to create the .cfg file first and then run the ‘getParametersFromFile’ box. This box will not only import the values from the .cfg file but also create the desired ‘Global Parameters’ from scratch.
Have a good day!