Author: nisarkhan

How the Salesforce Platform Enforces Authorization

In most cases the platform automatically enforces admin-configured authorization settings, so your job is easy. However, because the platform is flexible, there are certain cases where developers can bypass authorization settings. To understand why and where this happens, you need to understand the two execution contexts that a app runs in: user and system. […]

Read more

Authorization in Salesforce

Access to online data is generally restricted to only those who are identified, authenticated, and authorized. There are three main ways: –> Create, read, update, and delete (CRUD) settings ——–> Determine which objects a user can create, read, update, and delete –> Field level security (FLS) settings ——-> Determine which fields a user can read […]

Read more

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

Read more

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” […]

Read more


–Calling base component WITH passing params


Read more

Calling generic base component by extends

–Calling base component without passing any params


Read more

lightning abstract base super component

–Base Component:

–Base Component Helper:


Read more

Lightning Data Service Basics

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

Let’s create component named “accEdit”



Read more

Lightning Components Basics

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

Let’s create component named “campingList”



Let’s create component named “campingListForm”



Let’s create component named “campingHeader”

–campingHeader class:

Let’s create component named “campingListItem”

–campingListItem Controller:

Let’s create component named “addItemEvent”


Read more

sObjectUtils class, utility


Read more