Classifying Triggers in Salesforce
Anyone that has ever had multiple triggers on objects in Salesforce knows that it can be very painful to manage them. Because of the way Salesforce chooses to run the triggers your code can be run in...
View ArticleReducing Salesforce SOQL queries by using static variables
The more moving pieces you have with triggers and classes the more you want to reduce the number of SOQL queries. One way to do this is to have Utility classes that do a lot of the heavy lifting. The...
View ArticleSalesforce and soapUI – Using the default query method
In a previous post I discussed how to test Salesforce webservices with soapUI. In this post I will show how to use the “default” methods inside the enterprise WSDL. Logging In First we need to login...
View ArticleScheduled actions in Salesforce with Apex
Scheduled actions in Apex are great to use when you need to have a section of code run at a particular time in the future and Time-Based workflows will not work. In the example below I’ll talk about...
View ArticleSwapping two files with a quick bash function
One thing I find myself doing a lot is swapping two files in bash. I thought about making this into a bash script then I realized 1) that’s over kill and 2) not as portable as I want. So, if you add...
View ArticleDynamic dependent picklists in Salesforce
One thing that comes up a lot in the in the #salesforce IRC channel is doing dynamic Visual Force driven off of picklists. So, let’s buckle up and get to it. Data Model In this simple example we are...
View ArticleNulling fields in Salesforce with SoapUI
The Problem The other day I came across a problem where sending in a blank field to Salesforce via SOAP was not nulling out the field. Instead, the enterprise WSDL was treating this as if nothing was...
View ArticleAuto watch a directory and rebuild the repository when an rpm is added/updated
Today I started setting up the repository for people to use to install the Solenopsis rpm. The problem is I want to be able to build the rpm (via Jenkins) and push it to a remote server and...
View ArticleDownload and launch an Elluminate session from the command line
We use Elluminate Live! for some of our meetings, and it has always bothered me that I have to launch the browser to use Elluminate especially for reoccurring meetings. So one afternoon I set out to...
View ArticleBetter remote notifications with irssi
History As I wrote about a long time ago I use to use a custom script with irssi to push to mumbles. Well, mumbles has gone defunct and I couldn’t really find a good growl client for linux. Plus with...
View ArticleLogging into Salesforce with CasperJs
Preface Anyone that has ever had to deal with editing multiple Entitlement Processes in Salesforce will know the pain of having to do this in multiple environments and making sure you don’t fat finger...
View ArticleDeleting all scheduled jobs in Salesforce with CasperJs
PREFACE In a previous post, I talked about how to log in to Salesforce with CasperJs. At the time I did not have a good example of what to do next with it. Well, this week I had a need that is...
View ArticleEven better remote notifications with Irssi
Last month I wrote a Irssi plugin that pushed messages from Irssi to Beanstalkd. I was pretty happy with it, but I wanted more. So, I’ve improved it. The new version pushes in a slightly more...
View ArticleAdding git status to the bash prompt
After talking to a friend of mine Jeff Larkin about bash prompts, I decided to modify what he did into a single line bash prompt. By adding the following to your .bashrc you’ll get the branch your on...
View ArticleSending pushover messages via Electric Imp
I recently got an Electric Imp april board and developer card. I’m really digging it and am planning on making a monitoring solution for my garage (including doors and freezer temps). In addition to...
View ArticleBoard games that all board gamers should own
Now I know this is a bit out of the realm of “normalcy” for my blog, but I think there is a bit of overlap in people who would read this, and people who play board games. This list was generated by...
View ArticleSnapshotting objects in Salesforce with apex
A common issue that we have is a need to see information about Cases when it is created. We do this to do some analysis about how a case changes (primarily to verify how good our automated tools are...
View ArticleThe best feature in Salesforce Summer ’14
Ok, so it might not be the BEST feature ever, but it is a feature after my own heart. If you’ve ever done anything with pricebooks, you know how painful they can be. And worst of all how you cannot...
View ArticleUsing Git with Salesforce and distributed teams
Introduction I’ve been asked several times (and have presented a couple of times) on how our team handles doing Continuous Integration (CI) and Continuous Deployment (CD) with a distributed team....
View ArticleIntro to Apex: Auto converting leads in a trigger
Over the past couple of weeks I have seen several posts on the developer forums about writing a trigger to auto convert leads based on some criteria. Since this seems to be a pretty common topic, I...
View Article