Another Salesforce blog!!!

Salesforce, Apex

LIGHTNING

using string literals

Literal strings must be enclosed in single quotation marks. double quotation marks are reserved for enclosing attribute values, and must be escaped in strings. Use the “\” character to escape strings. Favorite

understanding how the component event fired

Lets create the component event first and called it “StudentSelectedEvent”:

The name attribute in must match the name attribute in the tag in the component that fires the event. in the above component event the type of event is “COMPONENT” and we have one attribute which is “contactId” and type of it is “Id” […]

CALLING GENERIC BASE COMPONENT USING EXTENDS W/PARAMS

–Calling base component WITH passing params

Favorite

Calling generic base component by extends

–Calling base component without passing any params

Favorite

lightning abstract base super component

–Base Component:

–Base Component Helper:

Favorite

Lightning Data Service Basics

Link Lightning Data Service Basics Let’s create component named “accDisplay”

Let’s create component named “accEdit”

–Controller:

Favorite

Lightning Components Basics

LINK HERE: Lightning Components Basics Let’s create component named “Camping”

Let’s create component named “campingList”

–campingListController:

–campingListHelper:

Let’s create component named “campingListForm”

–campingListformController:

–campingListFormHelper:

Let’s create component named “campingHeader”

–campingHeader class:

Let’s create component named “campingListItem”

–campingListItem Controller:

Let’s create component named “addItemEvent”

[…]