I’m a big fan of code separation and code reuse. When I’m coding I like to keep my SOQL out of the business logic and in a gateway class of its own. That way I can reuse common queries in…
I’m a big fan of code separation and code reuse. When I’m coding I like to keep my SOQL out of the business logic and in a gateway class of its own. That way I can reuse common queries in…
Apex allows you send emails from code using the Messaging namespace. As usual Salesforce governor limits are at work and you could unwittingly hit your limits without needing to. If you are sending email to users within your organisation, make…
Working with the Salesforce platform presents many challenges. One of the most common is avoiding the platforms many governor limits. As a developer, hitting governor limits on the platform is a sure fire way to turn a good day into…