Category: Salesforce

Build a Command Line App for Force.com with Ruby & Thor

May 1st, 2012, 1 Comment

Over at CloudSpokes we write a lot of ruby code (CloudSpokes.com runs on Heroku in Ruby with Database.com as the backend) for debugging, data migration, utilities and more. We typically just write a quick ruby class and run it from the command line to execute the script. However, I thought it might be cooler to [...]

Node.js Demo with Force.com REST API, OAuth & Express

April 27th, 2012, No Comments

We’ve been working with Node.js quite a bit at CloudSpokes but I hadn’t done anything with Force.com and Node.js using their REST API; we’ve mostly been using our own API. So I thought I would give it a spin and see what it would take to write a small demo app using Node.js, the Force.com [...]

Convert a Related List to a Comma Separated List

April 10th, 2012, 1 Comment

Sure, picklists and (sometimes) multi-select picklists are a great way to store data for Salesforce.com objects but related list are much more powerful and flexible. Here’s a great little trick to keep the power of related objects but still have the ease of use of a quasi-picklist for reporting, creating formulas, displaying values to users, [...]

Writing Unit Tests for v24 Apex REST Services

March 21st, 2012, No Comments

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 types are now allowed as Apex [...]

Synchronizing Asynchronous Events in Salesforce.com

March 20th, 2012, No Comments

So the title is slightly dubious as you really can’t synchronize asynchronous events in salesforce.com. However, here’s a strategy to make asynchronous events more manageable. Don’t get me wrong, asynchronous events (Apex methods with the @future annotation) are awesome. You get higher limits, they fire when the platform has spare cycles and users don’t have [...]

Apex REST Service Not Found?

February 28th, 2012, 1 Comment

I just deployed an Apex REST service to production and noticed something strange when trying to access it. When calling the URL with my Rails app, I received the error: “Could not find a match for URL /v.9/quickquiz/results/today”. Strange because the URL worked in my sandbox and there was no difference in the code. I [...]

Welcome to CloudSpokes Rob Cheng!

February 2nd, 2012, No Comments

We just announced on the CloudSpokes blog that Rob Cheng has joined the team and will be heading up our CloudSpokes strategy. Rob came from salesforce.com where he was the Director of Force.com Platform Product Marketing and has also had stints at CollabNet and Borland. He actually has a really cool blog as well that [...]

Video – Getting Started with Rails & Databasedotcom Gem

January 27th, 2012, No Comments

It the new year again and time for resolutions. I made a resolution about a year ago to learn ruby. If you are looking for something to learn this year I would recommend ruby and here’s why: Salesforce.com bought Heroku for $220M Salesforce.com has been pushing “Open. Social. Mobile” for quite some time. Ruby is [...]

Amazon DynamoDB Demo

January 19th, 2012, No Comments

Yesterday Amazon announced Amazon DynamoDB, their Internet-scale NoSQL database service. Back in November we were fortunate enough at CloudSpokes to be invited to participate in a private beta for Amazon DynamoDB. We’ve since then had some time to “work it over” a bit and I have put together a demo application to show off some [...]

Apex Test Coverage Does Not Match?

November 22nd, 2011, 5 Comments

Writing unit test in Salesforce is, in my opinion, a “black art”. There are so many workarounds and “techniques” that it makes the process extremely frustrating. The issue below makes me enjoy the process even less based upon the amount of time/money I spent wasting on it. BTW, go vote on my idea to make [...]

Feed

http://links.jeffdouglas.com / Salesforce

WordPress Appliance - Powered by TurnKey Linux