Category: Salesforce
Using OAuth to Authorize External Applications
July 23rd, 2010, 2 Comments
My article on OAuth went up yesterday on developer.force.com (thanks Jon!). It seems like OAuth is gaining adoption so I hope the article comes in handy for people developing applications for Salesforce.com. I’m currently working on another article for the Force.com Web Services Connector (WSC). “Force.com lets you build external web applications that access data [...]
Email a Document with Salesforce.com
July 22nd, 2010, 2 Comments
After my last post, Create and Email a PDF with Salesforce.com, I received a few comments whether it was possible to do the same with Document stored in Salesforce.com. Could you choose a Document and then send it via email as an attachment? The short answer is yes! However, I tried to do it from [...]
Create and Email a PDF with Salesforce.com
July 16th, 2010, 1 Comment
This is a continuation of my post a couple of days ago, Attach a PDF to a Record in Salesforce, and shows how to dynamically generate a PDF and attach it to an email. The code is fairly similar and has the same issue with testing the PageReference getContent() method. You can run this demo [...]
Attach a PDF to a Record in Salesforce
July 14th, 2010, 4 Comments
Salesforce.com makes it extremely easy to generate PDF documents on the fly by simply using the renderAs=”pdf” attribute for the <apex:page> component. It’s also a snap to attach these PDFs to records as Attachments. Below is a small Visualforce page and Controller that generates a PDF and saves it to an Account. Note: there is [...]
Building a Dynamic Search Page in Visualforce
July 13th, 2010, 10 Comments
I brushed this code off and thought it might be useful to someone as a starting point for a dynamic search page. It has some cool functionality including passing search criteria via Javascript to the controller, search as you type, sorting of results by clicking on the column header plus much more. Hope you find [...]
My Favorite Salesforce.com Summer ’10 Features
July 7th, 2010, 9 Comments
The Summer 10 release was rolled out last month and I’m finally getting a chance to go through the entire release notes and pick out some of my favorite new features and enhancements. Sorry for the delay but I’ve been busy with stuff. I didn’t hit all of the items in the release notes so [...]
Using RSA-SHA1 with Salesforce Crypto Class
July 6th, 2010, No Comments
This is a rather obscure post but it will definitely come in handy to someone trying to use the RSA-SHA1 algorithm with the Salesforce Crypto class. I’m spent the past two days trying to hook up OAuth using Apex and various Google Services. The standard HMAC-SHA1 algorithm is fairly straight forward with OAuth and Google [...]
Understanding the Force.com Multitenant Architecture
July 2nd, 2010, 2 Comments
I was doing some research for our new book, The Salesforce Handbook, and came across a whitepaper entitled, The Force.com Multitenant Architecture Understanding the Design of Salesforce.com’s Internet Application Development Platform This whitepaper is a great read if you are interested in the guts of the Force.com platform and how it works. It talks about [...]
Error Compiling Salesforce Metadata API with WSC
July 1st, 2010, 2 Comments
This might not be relevant right now but you may find it useful in the near future. I’m tinkering with an app that spits out documentation for an org. I really hate doing documentation and am quite lazy so I thought I’d write something to allow my computer to do my work for me. I [...]
Any Interest in a Chatter / Spring / App Engine Tutorial?
June 30th, 2010, 1 Comment
Following up on yesterday’s post, Get Ready for VMForce – Here’s How!, I was thinking about putting together a series of tutorials on building a Chatter app on App Engine using Spring MVC with JDO. This will take considerable effort and I’m just wondering if it would be valuable to the Salesforce.com community. Tell me [...]










