Category: Technology

My VMforce and Facebook Demos Today at Dreamforce

December 8th, 2010, 2 Comments

If you are at Dreamforce today here are the sessions that I am speaking in. I’m really excited to be part of both of them as the topics (VMforce and the new Facebook toolkit) are really cool. Leveraging Public Social Networks – West 2005 @ 12:15 We’ll be showing off the new Facebook toolkit and [...]

Force.com Programming Best Practices

October 21st, 2010, 25 Comments

  Wes and I are adding a few more topics to our Salesforce Handbook before we put it to bed and I thought a great topic would be programming best practices. I’ve never seen a “complete” list of best practices so I thought I would put something together based upon my experiences. I know I’ve [...]

Cloud Computing for Java Developers Webinar (VMforce)

September 10th, 2010, 2 Comments

I attended the Cloud Computing for Java Developers webinar yesterday, which was essentially an intro to VMforce and the Force.com platform for (non-Force.com) Java developers. Quinton Wall and Jesper Joergensen did a good job with the overview of the platform but I was really looking for some tidbits on VMforce. You can watch the recording [...]

Error – Portal account owner must have a role??

September 2nd, 2010, 5 Comments

I wrote the following test class for a PRM deployment and received this crazy error when running the test: System.DmlException: Insert failed. First exception on row 0; first error: UNKNOWN_EXCEPTION, portal account owner must have a role: [] I searched the message boards but couldn’t find any reference to the real culprit. My original thought [...]

Released – Force.com Utility Belt for Salesforce.com

August 31st, 2010, 14 Comments

The Force.com Utility Belt is a Google Chrome Extension that I wrote to make my life easier. While developing on the Force.com platform I consistently need access to Salesforce documents, message boards, code snippets, etc. and opening PDFs, searching documentation and looking up Visualforce component signatures becomes tedious. The extension evolved out my necessity to [...]

Managing the Heap in Salesforce.com

August 16th, 2010, 8 Comments

With the Spring ’10 release, Salesforce.com removed the limit on the number of items a collection can hold. So now, instead of ensuring that your collections contain no more than 1000 items, you have to monitor your heap size. Here are some strategies on how to write Apex scripts that run within these limits. First [...]

Why is this so DOM Hard?

August 11th, 2010, 16 Comments

Let me start out right away by saying I am not a DOM or CSS master. I’ve typically had employees or co-workers to perform these functions for my so I’ve (unfortunately) let me skills wane. However, I’m not totally clueless. I was trying to build the following Visualforce page a couple of days ago and [...]

Using the Salesforce.com OAuth Playground

July 28th, 2010, 8 Comments

My article on developer.force.com, Using OAuth to Authorize External Applications, shows how to develop external Java applications that use OAuth to access your Saleforce.com data. But what if you want to do the opposite? What if you need to write an application on the Force.com platform that uses your data from Google, Twitter, LinkedIn or [...]

Email a Document with Salesforce.com

July 22nd, 2010, 15 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, 26 Comments

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 [...]

Feed

http://blog.jeffdouglas.com / Technology

WordPress Appliance - Powered by TurnKey Linux