For Developers

  • 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
  • TrailheaDx_OpFocus_Kartik
    June 8, 2016

    TrailheaDx – Lightning, Lightning & Lightning

    Happening now! TrailheaDx: The First Salesforce Developer Conference. What buzzwords are flying around at the event? Lightning, more Lightning & Trailhead. Marc Benioff kicked off the conference with his charismatic keynote talking about his philanthropic 1/1/1 model and how Salesforce is truly a Customer Success Platform. Then Alex D

    Read more
  • Debugging with JSON.serializePretty()

    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
  • January 19, 2016

    Mastering the Recall of an Approval Process

    At one time or another, most Apex developers have had the need to interact with Approval Processes programmatically.Salesforce does make this possible, but the sequence of steps to do so is not as straightforward or intuitive as one might like. There are plenty of blog articles out there that already describe how to create and subsequentl

    Read more
  • January 5, 2016

    Pesky Decimal Place Digits in Salesforce Currency Fields

    [fusion_text]If you have experience with Salesforce Currency and Number fields, you have certainly had the need to customize the number of decimal places displayed.  Salesforce does a reasonably good job of handling Currency and Number fields seamlessly for you with a few exceptions related to the precision of the data. Test Setup In order

    Read more
  • December 28, 2015

    Understanding “Cannot Specify Id” on Insert Exception

    If you have ever received one of the following Exceptions from Salesforce when performing an insert or upsert read on for insight: Record ID: cannot specify Id in an insert call Insert failed. First exception on row 0 with id a06g000000BALsHAAX; first error: INVALID_FIELD_FOR_INSERT_UPDATE, cannot specify Id in an insert call: [Id]

    Read more
  • December 17, 2015

    Express Yourself: Writing REGEX Functions for Administrators

    Salesforce is only as good as the quality of data that is captured. Without good controls on data entry, users cannot trust in their database to provide actionable intelligence about business operations. This is also why it is of paramount importance to use the right validations at the right time so that our users can be guided to provide app

    Read more