I'm trying to add an environment label to the navigation menu bar for our apps to the left of the USERNAME (logout) list item. We have 3 workspaces DEV, TEST, PRD. So I would like to dynamically display after retrieving the value from a reference table:
(DEV | TEST) [username]
I am able to do this using an application level substitution string and hardcode it, but would love to be able to call my get_environment
function and use that return value in the menu bar. Is there a way to create an application (or even better workspace) level variable to use for this?
Thanks,
Mike