Blog Archives

Managing the heap using SOQL For Loops (with a little code seperation)

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

Tagged with: , , , ,
Posted in apex, code, force.com, salesforce

Pebble Watch: Salesforce Approvals – Part 2

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

Tagged with: , , , , ,
Posted in apex, code, force.com, pebble watch, salesforce

Pebble Watch: Salesforce Approvals – Part 1

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

Tagged with: , , , ,
Posted in apex, code, force.com, pebble watch, salesforce

Apex Code Tip – Sending Email to Salesforce Users

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

Tagged with: , , ,
Posted in apex, code, force.com, salesforce

Undercover Maps

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

Tagged with: ,
Posted in apex, code, force.com, salesforce

Apex Approval Actions

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

Tagged with: , , ,
Posted in apex, code, force.com, salesforce

Conditional Detail Page Buttons – Hacking the Platform

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

Posted in apex, code, force.com, salesforce

Creating A Simple Batch Apex Process Queue

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

Tagged with: , , , ,
Posted in apex, code, force.com, salesforce

Trigger Pattern for Tidy, Streamlined, Bulkified Triggers Revisited

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

Tagged with: , , ,
Posted in apex, code, force.com, salesforce
About Me
Product Services Developer at:
FinancialForce.com
All views expressed here are my own. More about me and contact details here.
Please sponsor me …
My wife and I are running the Great North Run to support The Nick Alexander Memorial Trust

If you've found my blog useful, please consider sponsoring us. Sponsor me on BT MyDonate

Enter your email address to follow this blog and receive notifications of new posts by email.

Copyright (there isn’t any, feel free to reuse!)

CC0
To the extent possible under law, Tony Scott has waived all copyright and related or neighboring rights to MeltedWires.com Examples and Code Samples. This work is published from: United Kingdom.