Identify Production / Sandbox Salesforce Org in Apex
In order to write reusable code and not hardcode in Apex there are times you will need to know if you are working in a Sandbox or Production org. Most of the time it would be to change variables such as knowing when to use a dev named credential vs a production named credential (hopefully […]