Rajat
IndividualVisualforce Pages vs Lightning Components
There are a lot of fundamental differences between Visualforce Page and Lightning Components: Visualforce Page: 1. Page-Centric Model. 2. Most of the processing takes place…
Choosing Debug Mode and Component Caching to build Lightning Components rapidly and efficiently
As you start developing Lightning Components you must take care of a few settings in Salesforce Org, depending on whether you are in production or…
Creating and Populating a Wrapper in Apex
As Apex is a statically typed language, you must choose only one object type per list to iterate. What if you want to iterate an…
Get Picklist Values in Salesforce Lightning Component From a Common Apex Function
See below the code example to get Picklist Values in Salesforce Lightning Component from a Common Apex Function: CommonPicklist.cmp <aura:component controller="CommonPicklistController"> <aura:attribute name="ObjectName" type="String" default="Opportunity"…
Using Ternary Operator in Salesforce Lightning Components
The below code shows how to use Ternary Operator in Salesforce Lightning Components: Ternary_Operator.cmp <aura:component > <aura:attribute name=”isError” type=”Boolean” description=”If Name is empty then true,…
How to pass Date field from Salesforce Lightning Component to Apex Controller?
We can't directly pass the Date field value from Lightning Component to its Apex Controller. What we need is to: Capture the value of Date…
- Viewing 1 - 6 of 6 articles