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…
In Part 1, we looked at creating the Salesforce server application to expose the Approvals and the target objects via some REST based web services. In the second part of this article we look at creating the Pebble watch app…
I recently bought a Pebble ‘smart’ watch and I have to say I’m pretty impressed with it. Rather than try and replace the phone in your pocket, it works to extend it by providing you with notifications and an app…
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…
The Map class is probably the most useful collection on the Salesforce platform. When you combine a Map with a SOQL query you have a really cool tool for automatically populutating a Map of SObjects keyed on Id using a…
Approval Processes are a great feature of the Salesforce platform. They stand firmly behind the ‘No Software’ banner by giving ‘Power Users’ the ability to configure approval criteria and outcomes via a point and click interface. Aproval outcomes can create…
UPDATE: Due to changes in the way Salesforce serves up home page components from a different domain, this will no longer work as javascript no longer has access to the DOM. Introduction I’m going to start this post off with…
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…
I thought I’d launch my blog by revisiting a post I wrote for the Force.com Cookbook. You can find the original post here: Trigger Pattern for Tidy, Streamlined, Bulkified Triggers The main aims of this pattern are to organise trigger…