Add a function to the veeva-library.js to enable developers to check whether the environment is sandbox or production, on a related note it would also be useful to check the sandbox url.
Something like getEnvironment() and it returns an object with url.
It would be useful for checking what features were enabled.
I've seen similar global variables such as:
The scenario we faced was that we wanted to launch an approved email, but we need to cater for two instances, once in sandbox and then when the work is re-created on the production environment. It would be useful for a range of other scenarios though.
Please sign in to leave a comment.