Skip to main content


Flow Updates in Winter'23

Recent posts

Lightning Picklist Path Component

Create your custom path for picklist field in any standard and custom objects. The new lightning picklistpath component in Winter18 helps us to display the picklist field progress similar to the lightning path. The path is rendered as a horizontal bar with one chevron for each picklist item, this component doesn't have key fields or guidance information and doesn't display the mark complete button similar to the lightning path.  <lightning:picklistPath aura:id="picklistPath" recordId="{!v.recordId}" picklistFieldApiName="status" / > The picklist path will display the progress based on the recordId and picklistApiName attribute value. Specify the API name of the picklist field in the picklistAPIName attribute which you want to display in the page layout and specify the Salesforce record ID in the recordID attribute so it renders the current value for the field in the page.   In this example, the status field in the case object disp

Lightning Data Table Component - Winter’18

Here is the another helpful component for salesforce lighting developers in Winter18 release. In this blog post let’s see about lightning data table component. This lightning component is to display the data in the tabular formate in a native salesforce lightning style. lightning:datatable This component used to display the data in a tabular formate which inherits the datable styling from lightning system . The column in the datatable can be displayed based on the data types for example if the email, phone or URL can displayed with the respective schema by specifying the type of the column. As a developer, we don’t have to use lightning design system div tags in your component to display the data in a table format instead a single line of code. Following are the features currently supported by this component Display column based on the data type Resizing the column width Selection of rows in the table Sorting of column Dynamic Data and Column You can specify the

How to get help in Salesforce

Salesforce has tons of documentation to learn about its platform and also it has  Trailhead , one of the best ways to learn salesforce on your own with the practical examples however when we are working with real time project we might face issues and we don't know how to proceed further after that or you might have no clues how to handle some scenario in salesforce. Sometimes documentation may not be helpful to get a straight forward answer for those questions but salesforce community members can. Believe me, Salesforce has very strong and knowledgeable community contributors where you can get help. Let's see how to get help in salesforce. Firstly, let's see about  Developer Forums  - Salesforce has its own official discussion forum for developers to ask their queries. Here are some tips to ask your questions in the forum. Before posting any questions, as a first step search in the forum most of the time you will get an answer to your question. If not then post yo

Migrating to Lightning component from Visualforce

In this post, I'm sharing my tips to my fellow salesforce developers to get the transition from visualforce to lightning component development. When learning lightning component always tries to relate the functionality with visualforce this will help you understand better. 1. Learn JavaScript Most of the salesforce developers, when working with the visualforce pages they may not get an opportunity to utilize the JavaScript/jQuery completely because visualforce component has native javascript functionalities like button click events, action function, dynamic refresh component etc. If you are not familiar with JavaScript then that is your first step to learning lightning. Check this site to learn about JavaScript 2. Business logic We always use visualforce page as front-end to view the information and keep all our business logic in the apex controller class but in the lightning component development, the approach is entirely different. We write al

Location Based Activities - Lightning

The new summer’16 feature automatic geocode for the address helps to track your nearby prospects and clients but you can also able to create location-based activities for the account, lead or contact records. Let’s see how to create location-based activity records. In this, below example, I will use the account record geolocation to track my activity records.  As a first step, set up the geocode clean rules -   Once you setup the rule then, geocodes are automatically added to existing accounts, contacts, and leads. New accounts, contacts, and leads get this information when they’re saved.  Next, I have created custom checkbox field in activity object called ‘Remind me at a Location’. Enable the checkbox field when creating the activity record. This is to identify which task I want to see based on the current geo-location so this activity record will use th

Salesforce and littleBits Integration - Part 2

In my previous salesforce and littleBits Integration post, I have explained about sending information from the littleBits device to Salesforce, when there is a button click (physical button click) on the device it will insert a new record in salesforce. In a simpler word, we sent information from littleBits to Salesforce. Now in the part-2, we are going to send information from salesforce to littleBits device. In this post, I'm going to explain how to turn on and Off the LED light connected to my littleBits device from salesforce Step 1: Setting up littleBits Device For this demo, you need one cloud bits, one USB power, one LED module and an external charger for power. Setup your littleBit device kits as shown in the below picture Now go to and copy the device id and access token which is required to send information from salesforce to littleBits. Step 2: Setting up Salesforce Here we are going to setup salesforce to send information t