Determining Org Type in Apex Code
Have you ever wanted to run one block of code in a sandbox and another block in the production org? I couldn’t find a built-in Apex function that allowed me to determine whether the code was running in a Production/DE environment or in a sandbox. Fortunately, I ran across this post that gave enough info […]
Determining Org Type in Apex Code Learn More ❯