For rather complex reasons, I want to get the current environment name in a customised dashboard. The closest I can find in Object Explorer is MainController.Session.AppServer, which I can extract the environment name from as it is part of the AppServer string, but this is not recognised when I run the code checker, and nor is any other member of MainController.Session. Can anyone point me in the right direction?
ERP 10.2.700
Kind regards,
Peter