Skip to main content

Posts

Showing posts from 2017

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