Go Tutorial with MongoDB on Heorku

I've spent the last couple of days digging into Go and getting the feel for it and so far I really like it. It built a small web app using MongoDB and Heroku and thought I would share the process. Here is the source code and you can…

Read more

Writing Unit Tests for v24 Apex REST Services

With the Spring '12 release, salesforce.com made some great enhancements to Apex REST services (v24): Apex REST automatically provides the REST request and response in your Apex REST methods via a static RestContext object. You no longer need to declare a RestRequest or RestResponse parameter in your method. User-defined…

Read more

"Chow Finder" - My Veterans Hackday 2011 App

This is my submission for the LinkedIn Veterans Hackday 2011. CloudSpokes threw in an extra $100 for any member that submitted as an extra incentive. Our members created some pretty cool apps and I'll be highlighting them shortly. Chow Finder is a mobile application for services members to easily locate…

Read more

I'm Addicted to Play! on Heroku

I've been using Play! since Dreamforce 11 when Heroku announced support for it and I have to say that I'm addicted to it. If you love Java (and who doesn't) but hate developing Java applications with all of the crap that goes along with it (Maven, XML config files, deployments,…

Read more

Getting Salesforce Field Metadata the Easy Way

I'm working on some of the Apex REST services for our CloudSpokes org and needed some code to fetch field level metadata using Apex Describe. I poked around and realized that there isn't really much out there. So I decided to write something up and hopefully people find it useful…

Read more

Build a Bulk Emailer for Salesforce with App Engine

Sometimes you just want to send a crapload of email from Salesforce.com. However, like every PaaS platform there are limits baked into the multi-tenant environment so you don't stomp on other tenants' resources. Salesforce.com limits you to 2000 emails per day for each Salesforce license. So if you…

Read more

Salesforce Trigger when Rollups Summaries Not Possible

Master-Details relationships in Force.com ¬†are very handy but don't fit every scenario. For instance, it's not possible to implement a rollup summary on formula field or text fields. Here's a small trigger that you can use for a starter for these types of situations. The code for each class…

Read more

Demo App - Ruby, Rails & Force.com REST API on Heroku

So continuing with my learning Ruby series, I finally finished my sample app using the Force.com REST API. I ran into a few issues and fortunately Quinton Wall and Heroku support came to my rescue. Apparently require 'Accounts' and require 'accounts' aren't the same when running on Heroku. Go…

Read more

OpportunityAccessLevel Not Writable

I was working on a project the other day where I needed to dynamically add users to an opportunity's Sales Team (OpportunityTeamMember object) so that users who do not normally have access to an opportunity based upon Org-wide security settings can work on the opportunity with other team members. One…

Read more

Dynamically Group & Display Query Results

I was working on a Visualforce page that displays the results of a query in separate PageBlock sections based upon a value in the query results. I ran into a small issue which took about an hour or so to solve, so I thought it might make descent blog fodder.…

Read more