Display List – an aura:attribute Collection Type As Picklist
There are some use cases where you need to display List - an aura:attribute collection type as picklist in Lightning Component to display array of items. A list is an…
There are some use cases where you need to display List - an aura:attribute collection type as picklist in Lightning Component to display array of items. A list is an…
It is possible to add and remove styles on Lightning components or element during runtime. To retrieve the class name on a component, use component.find('myCmpId').get('v.class'), where myCmpId is the aura:id attribute value and the class…
Lightning custom Application events follow a traditional publish-subscribe model. They allow communication between components that are in separate parts of the application and have no direct containment relationship . When…
In Lightning framework there is need to create, fire and handle component event because the model uses events to communicate data between components. Events are usually triggered by a user…
Custom Controller Testing Visualforce custom controller is required because custom controllers like all Apex codes, should be covered by unit tests. A custom controller is an Apex class that implements all of the logic…
Introduction A many-to-many relationship allows each record of one object to be linked to multiple records from another object and vice versa. For example, you create a custom object that…
In Salesforce creating My Domain is actually creating a subdomain within the Salesforce domain. My Domain showcases your company's brand and keep your data more secure by adding a custom…
Controller Extension A controller extension is an Apex class that extends the functionality of a standard or custom controller. The class constructor takes a single argument of type ApexPages.StandardController or…
Aggregate functions in Salesforce Object Query Language (SOQL)), allow you to roll up and summarize your data in a query. These functions include AVG(), COUNT(), COUNT(fieldName), COUNT_DISTINCT(), MIN(), MAX(), and SUM(). It is possible…
In Salesforce Lightning Component, <aura:method> is powerful and is supported for code reuse. The use of <aura:method> simplifies the code needed for a parent component to call a method on a child…