How to identify the environment (database) Apex is running on?
Hi
We are going to have 3 environments here: Development, Test and Production (separate databases/servers for each one). As usual, the development process will move applications from Dev -> Test -> Prod.
On my Apex 3 applications, I would like to visually identify, in some way, to which environment I am currently connected. For instance, displaying the name of the environment on the page header.
My problem is how to identify what environment Apex is running on. Is there any Apex instance-level property where I can set a string and display it in my applications? Or something like that?
What is the best way to achieve this? Any suggestions welcome.
Thanks,
Luis