John Pipkin

« Back to Blog


Top 3 Things to Consider When Preparing for Integrations
Are you considering integrating another system in Salesforce? Preparing for such a task is crucial to the success and stability of the project and can often times be challenging. As consultants, we are faced with a lot of projects that include some type of integration and we have seen the effect of how disastrous it can become without aski
Read more

Lightning Exception Handling Framework
There are 3 types of code: Bad code, functional code, and good code. Bad code simply doesn't work and functional code works but has a bad user experience, but what makes good code "good"? There are a million ways to correctly answer that question, but I'm not writing on a million topics so I will point out a select few. Good code handles excep
Read more

Lightning Lookup Input Field
I am sure most of you who are reading this post are frantically searching Google for a way to put a lookup input field on a lightning component form. How do I know this? It's because anyone who needs an input lookup field on a lightning component currently is told to build your own until Salesforce fixes the <force:inputField> to fu
Read more

Autocomplete Lookup Fields Inside Flows
The Problem Recently, I was asked by one of my co-workers if there was a way to implement a lookup field inside a visual flow. As some of you know, typically this can be handled by using a dynamic picklist on a drop-down box or radio button element. As I received more requirements, I found out that there could be hundreds of options to choose
Read more

A flow trigger failed to execute: The mystery error
The Lightning Process Builder has been GA for a little over a year now. For the most part, it is a fantastic tool. Administrators have been able to build some pretty amazing workflows without the need for a developer like myself. The biggest annoyance that I have seen, though, is that pesky undescriptive error message that shows on the top of
Read more

Bad Value For Restricted Picklist Field Deployment Error
I recently came across a scenario where I needed to deploy some triggers that use a new picklist field that was defined as "restricted." In the sandbox, the triggers were working great and the test classes were covering 99% of the code. Easy, right? It should've been... During the deployment, my test classes were failing. "System.DmlExcept
Read more

Visualforce Autocomplete For Lookup Fields
The standard experience for lookup fields in Salesforce can be clunky. Unless you have recently viewed the record you are trying to look up, you have to type a search phrase (along with wildcards, if needed) in order to search for the record you are looking for. This is how we all know (and probably don't love) lookup fields: It's f
Read more

Debugging with JSON.serializePretty()
Printing debug statements in your code is essential, but it can be very painful when you don’t know what to print. Many times it’s best to see an entire class/SObject instance to be able to see all the properties in one place. Simply using System.debug() can be extremely hard to read, especially if what you are trying to print has a lar
Read more