Hi Thorsten,
There is no built in function in the Mendix platform to regulate visibility or accessibility for based on environment.
What you could do for webapps:
In you microflow you could do a check on your application URL. Based on the URL, which is specific to your environment, you can let certain different logic happen conditionally. You can do this by using the Get application URL action from Community Commons.
Alternatively you can use your suggested constant.
Hi Coos,
good to know, thanks for the info.
Community Commons has a Java Action IsInDevelopment that returns true if the environment is a development environment.
Your suggestion of a constant is a good one, and something you’d have more control over.