Category: Technology

Integrate Chatter & Twitter on Google App Engine using OAuth

March 17th, 2010, No Comments

Cross-posted at the Appirio Tech Blog.
At Appirio we’ve been excited about Salesforce Chatter for quite a while. We firmly believe that Chatter has the potential to bridge the gap between enterprise applications and the way people work. We were luckily enough to receive special prerelease access to Chatter to develop our Social PS Enterprise for [...]

Writing an Inbound Email Service for Salesforce.com

March 12th, 2010, 4 Comments

Creating an inbound email service for Salesforce.com is a relatively straight forward process but there are a few thing to explain to make your life easier. The email service is an Apex class that implements the Messaging.InboundEmailHandler interface which allows you to process the email contents, headers and attachments. Using the information in the email, [...]

Error Compiling WSC AppEngine Partner Jar for Salesforce.com Sandbox

March 11th, 2010, No Comments

I’m working on a demo for Google App Engine that connects to one of our Salesforce.com Sandboxes (hope to be done tomorrow or Monday). The Force.com Web Service Connector (WSC) project has a partner-library.jar that you can download and add to your project to get up and running quickly. However, if you want to connect [...]

Locking sObject Records

March 9th, 2010, 1 Comment

I don’t see this discussed often, but Salesforce.com has the ability to lock sObject records while they are being updated to prevent threading problems and race conditions.
To lock records, simply use the FOR UPDATE keywords in your SOQL statements. You do not have to manually commit the records so if your Apex script finishes successfully [...]

Passing Parameters with a CommandButton

March 4th, 2010, 6 Comments

This post is a slight tweak of yesterday’s post, Passing Parameters with a CommandLink. In theory you should just be able to switch out the CommandLink component with a CommandButton component and be golden. However, not so fast. There seem to still be a bug with the CommandButton component.
Here is the Visualforce page with the [...]

Passing Parameters with a CommandLink

March 3rd, 2010, 3 Comments

Here’s a small example of how you can pass a value to another method via a command link for Salesforce.com. When the link is clicked, the setter fires for the public member nickName. The button click then calls the processLinkClick method where you can do something like process the variable further with DML statement or [...]

GWT UiBinder – Passing Objects to Widgets

February 24th, 2010, No Comments

A couple of weeks ago I wrote a GWT 2.0 tutorial for passing simple values to a widget and this is the (promised) follow up on how to pass an object to a widget. For more info on working with the new UiBinder, see Declarative Layout with UiBinder at the GWT site.
The Entry Point class [...]

Relationship Lookup Objects in Triggers are NULL?

February 23rd, 2010, 1 Comment

I see this question once in awhile on the Salesforce.com message boards so I thought I’d put something together. So in this scenario you have a Sales_Order__c custom object which has a lookup relationship to Opportunity. When processing the Sales_Order__c records in your trigger, you want to access some fields on the Opportunity via the [...]

UiBinder with SuggestBox & MultiWordSuggestOracle

February 11th, 2010, 2 Comments

I’ve been working on a somewhat large and complex GWT project using UiBinder over the past couple of weeks. I’ve built a number of widgets that use the SuggestBox and MultiWordSuggestOracle but I created a new UiBinder, populated the suggestions but they came up blank in the type-ahead. After about a half hour of scratching [...]

GWT UiBinder – Passing Parameters to Widgets

February 5th, 2010, 6 Comments

I received a number of emails regarding my last post, GWT UiBinder Hello World Tutorial, specifically how to pass values into widgets using the new GWT 2.0 UiBinder. Here’s a small tutorial on one of the ways in which you could do that. I plan on another tutorial on passing multiple objects using the @UiFactory [...]

Feed

http://blog.jeffdouglas.com / Technology