From version 5.0.21.01, Page Designer provides a new feature called the Environment Variables to easily configure different values for different environments. Once you set a variable in the environment variables screen you can use them within your page application like a javascript variable. There are also system-level variables to set up URL for microflow and IAM2 for different environments like SIT, UAT, PRODUCTION, etc.