Category: Visualforce
Calling a REST Web Service (XML) with Apex
December 4th, 2009, 8 Comments
This is a cool little example of calling a REST web service with Apex. You enter your address and the Apex code fetches the geo coordinates from Yahoo! Maps. The service returns the data as XML. If you want to run this demo in your own org, you will need to do the following: Add [...]
Force.com Demo with Twilio
November 28th, 2009, 2 Comments
Cross-posted at the Appirio Tech Blog. During Dreamforce 09 Kyle Roche and I participated in the Developer Hackathon. We hacked-up an application using Force.com and Twilio for inbound and outbound calling. We were only allotted two hours so we were not able to finish off the application during the hackathon. Here is the final demo [...]
Apex “Deep Clone” Controller
November 19th, 2009, 18 Comments
I wrote the following code at the Admin To Hero App Building Workshop and it was very popular. I think we used the code on 3 or 4 projects that day so I thought I’d post it to help everyone out. Essentially it is a Visualforce page and Apex Controller that allows you to do [...]
ActionSupport Example using Facets and JavaScript
November 6th, 2009, No Comments
You can make your UI much easier on your users by giving them clues on what is taking place when they click buttons, enter text or choose items in a picklist. This example shows how you can notify a user that something is taking place in the background when you are performing actions asynchronously. For [...]
Embed a Flex Slider in a Visualforce Page
October 29th, 2009, 6 Comments
I did a simple Flex callback with JavaScript about a year ago and I always wanted to follow up with this topic. Somehow I never quite found the time. This is an example of how you can create a Flex component (a horizontal slider in this case), wrap it up as a Visualforce component and [...]
Book Review – Development with the Force.com Platform
October 26th, 2009, 1 Comment
I spent a good part of the weekend going over the newly released book, Development with the Force.com Platform by Jason Ouellette from Appirio. The book covers a surprisingly large number of topics in under 400 pages and is a great reference for both Salesforce.com administrators and developers. In the effort of full disclosure, I must [...]
Cool Code at Lunch Webinar – Flex & Salesforce
September 25th, 2009, 10 Comments
I was the guest speaker on our “Cool Code at Lunch” webinar yesterday where I showed the basics of developing, upload and running a Flex application on Salesforce with the Force.com Toolkit for Adobe AIR and Flex. The example app was a simple DataGrid populated with Contacts. The application turned out to be a really [...]
Developing Flex Applications for Force.com Sites
September 7th, 2009, 10 Comments
Developing Flex applications for a Force.com Site is a little different than developing Flex applications that run inside the standard Salesforce.com UI. Since visitors are not required to log in to your Force.com Site there is no concept of an actual user. All visitors simply run as a specific profile under the Guest license. Since [...]
Salesforce.com ActionSupport Component Not Calling Setters
September 3rd, 2009, 3 Comments
I ran into what I thought was a bug yesterday with the actionSupport Visualforce component but it turned out to be the intended functionality, according to Salesforce.com. I’m not sure if I agree as I can envision a number of use cases where it prohibits functionality. The actionSupport component adds AJAX support to another component, [...]
First Force.com Book NOT Published by Salesforce.com
August 28th, 2009, 1 Comment
Appirio’s very own Jason Ouellette is the first author to write a book about Force.com development outside of Salesforce.com. Jason is one of the architects of our newly released Professional Services Enterprise (PS Enterprise) so he definitely knows what he’s talking about. You can order your copy of the book here.












