web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :

How to get type of the instance (production/sandbox/something else) using code

a33ik Profile Picture a33ik 84,331 Most Valuable Professional
I was working on the plugin where logic had to work differently depending on the type of the instance, i.e. if code is executed in Sandbox environment – do A, if code is executed in Production – do B. I never developed anything similar before and search engines did not bring anything valuable. After research ...

This was originally posted here.

Comments

*This post is locked for comments