Yesterday I was writing a report in Mendix for one of my clients and I hit a few different walls. For those that have worked with OQL and Mendix, you've undoubtedly hit the same walls. I searched for some help and frankly found very little. That's probably because it's a lightly used feature in the platform and therefore hasn't gotten a lot of attention from the development team for quite a while, which I completely understand, but I figured that as long as I'm using it and learning more about it, I should capture what I'm learning to help others out there that are hitting those same walls.
While perusing the Mendix Forum this week I saw someone post the question as to how to make their Mendix Application aware that it was in Dev, Test, or Production. It had already been answered with a technique I use but for the novice Mendix user I’m not sure the answer was clear enough to be followed. I’m going to share what I do and what I’ve learned about this in greater detail to hopefully clarify the opaque answers given in the forum.