Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
How to detect/introspect that you are in the sandbox
There are various variables in our suitescript that need to be different in the sandbox as compared to our real production environment. We talk to a third-party's service that uses a different URL for testing, for example. Does anybody have suggestions on how to detect that the script is running in the sandbox? After a sandbox refresh, everything is reset, so creating a dummy record as a flag won't work. Essentially, I'm trying to keep from having to manually go through a list of things to do after every refresh.