salesforce

Salesforce Trigger Context

At work we are working on a new Salesforce organization. We’ve written some code over the last few months, but at the advice of some contractors who are more seasoned with Apex, we are doing some refactoring of the code. One of these changes is making sure that recursive triggers are not possible – something along the lines of Account AFTER INSERT being called, which […]

Salesforce Trigger Context Continue Reading »

Logging in To Salesforce from ColdFusion

Im continuing to clear out articles from the retired company development team blog. This one, was instrumental in getting me connected with one of my first big side work projects, which evolved into a two year project that helped us retire our mortgage. From August 2011: We have been working the last few months on an experiment with Salesforce.com. The code is some of our

Logging in To Salesforce from ColdFusion Continue Reading »

Salesforce: Serializing Objects from a Managed Package

I’m currently working on a Salesforce project that utilizes a few home-built managed packages. There are lots of restrictions of what you can and can’t do with managed package, and most of those are documented fairly clearly. Some, however, are somewhat hidden. One such restriction is this: Only custom objects, which are sObject types, of managed packages can be serialized from code that is external

Salesforce: Serializing Objects from a Managed Package Continue Reading »

Naming a class in Salesforce the same as a built in interface

I am currently working on a small managed package for a Salesforce project. One of the nice things you can do inside of managed packages is create post-install scripts, which are sort of like migrations in Rails. For some reason, I kept getting a compiler error when I created even the simples of install handlers: global class PostInstallHandler implements InstallHandler {
 global void onInstall(InstallContext context)

Naming a class in Salesforce the same as a built in interface Continue Reading »