For Developers

  • Autocomplete Lookup Fields Inside Flows
    June 22, 2017

    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
  • Insufficient Access Error
    June 7, 2017

    Troubleshooting that Pesky “INSUFFICIENT ACCESS ON CROSS REFERENCE ENTITY” Error

    If any of you have ever dealt with the dreaded "INSUFFICIENT ACCESS ON CROSS REFERENCE ENTITY" error, you will probably agree that this is one of worst errors to debug in Salesforce. There is virtually no information with the error that helps identify the problem. Most of the time I find that there is a permission issue on a lookup field that

    Read more
  • Lightning Polymorphic Lookup
    May 30, 2017

    Salesforce Lightning – Customizable Polymorphic Lookup Component

    If you have been using Salesforce Lightning Experience, you probably are familiar with the Lightning Polymorphic Lookup. For example, you will see it while creating Tasks, in the "Name" and "Related to" fields: Basically, you get to chose the "type" of SObject; when you type text, a search is performed on the appropriate SObject.

    Read more
  • Search Attachments in Chatter
    May 25, 2017

    Make Attachments Searchable Using Chatter

    Have you ever wanted to filter the Attachments associated with a Salesforce record? While Salesforce provides a standard page for uploading Attachments and Notes, there is no way to gain access to the file before it is attached, and there is no way to customize the filename once it has been attached. Creating a custom Visualforce page

    Read more
  • Round Robin Assignment
    May 23, 2017

    Round Robin Assignment Using Public Groups in Salesforce

    Do you like the idea of Omni Channel's round robin routing but want to assign records to offline users? Well, with Public Groups in Salesforce and a little Apex, you can! Let's pretend that when a Contact is created, we need to set the owner of the Contact in a round robin fashion based on picklist field values on the Account. F

    Read more
  • Salesforce-Slack Integration
    May 18, 2017

    Get Slack Messages Directly from Salesforce

    Do you want to integrate your Salesforce with Slack so users can get notified when there is important activity that requires their attention? Slack makes this incredibly easy, sexy, and it is well documented... for the most part. If you need to a go-to guide for this use case, read on! First of all—big shout out to Christophe Coe

    Read more
  • September 27, 2016

    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
  • pipkin-blog
    September 23, 2016

    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
  • August 11, 2016

    Salesforce Lightning Design System – Understanding Grid Layouts

    One of the most important features of Salesforce Lightning Design System is the Grid System. The Grid System in Lightning Design System is based on Flexbox (Flexible Box) - a CSS3 layout mode that makes sure elements will render properly on any screen size or display type. Below is the list of current supported browsers: Advantag

    Read more
  • autolookup
    August 5, 2016

    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