creativeCommons IsInDevelopment? works for test and acceptance environments too.

0
I was not sure if this function will consider test and acceptance environments too. We are building some checks to certain logics so that they do not execute in non-production environment. What environments does Mendix consider development?
asked
1 answers
2

Hi Bhanu,

No, the comunity commons action isInDevelopment will only return true in your ‘D’ environment. Test and Acceptance will give ‘true’.

I’d recommend creating an ‘Environment’ constant (with T, A or P value per environment) or if it’s only the Production environment information your after, you can also create a ‘isProduction’ constant. Easy as that :)

Good luck!

answered