change settings based on environment

0
Hi everyone, I currently have a constant with my endpoint for my service, but i want to change the endpoint address based on environment. Is it possible to determine in witch environment (Acceptance/Live) the app is running and change values based on that ?  Im quite new to Mendix so an example would be much appreciated.
asked
1 answers
4

Hi Youri,

You can edit constants per environment in you Mendix application enviroment(home.mendix.com).
See https://docs.mendix.com/developerportal/deploy/environments-details under chapter 3 'Model options tab'

Constants have a default value that you set in the modeller, when the application is deployed to the cloud you can edit the constant.

answered