Mastering Child-to-Parent Communication in Lightning Web Components (LWC)

As we are diving deeper into Lightning Web Components (LWC) and we are getting familiar with the component-based structure in LWC, which is the ground work for building scalable applications in Salesforce. We understand that interfacing components require to communicate among them. But one thing that can be tricky even for seasoned developers, is mastering …

Read moreMastering Child-to-Parent Communication in Lightning Web Components (LWC)

How to use Lifecycle hooks in LWC

As we go deep into Lightning Web Components, you’ll encounter lifecycle hooks in LWC—one of the most powerful tools that gives us control over the various stages in a component’s lifecycle. You may have come across similar concepts in React or Angular. In LWC, lifecycle hooks allow you to tap into critical moments when your …

Read moreHow to use Lifecycle hooks in LWC

Introduction to Apex programming

The goal for the chapter is to establish a robust foundation of the basics of Apex, focusing on syntax, data types, and foundational object-oriented programming (OOP) principles. Mastering apex is the key to becoming proficient in Apex programming language that is in turn pivotal to becoming a good Salesforce Developer. With this chapter we will …

Read moreIntroduction to Apex programming

JavaScript For LWC | Basics Concepts for beginners

JavaScript, one of the fastest growing programming languages. It is a lightweight, cross-platform, single-threaded, and interpreted compiled programming language. It is also known as the scripting language for webpages, used to create dynamic and interactive elements in web applications. It is easy to learn. It is another useful skill to bag, if your are on your way of becoming a better developer (even …

Read moreJavaScript For LWC | Basics Concepts for beginners

How to write a flow test class? | Salesforce Flow Test Class Basics and Test coverages

Specifically speaking we don’t need to be writing a test class to deploy a flow to the production environment. But in the ‘bizzaro world’, that is every now-and-then we get to meet a client who wants us to deploy only using test classes. Mind you ! We can do that using flow tests in a …

Read moreHow to write a flow test class? | Salesforce Flow Test Class Basics and Test coverages

Events in Lightning Aura Component

In this article, we will discuss events in lightning aura components and their use cases in general. Lightning Events are used to communicate between the Lightning Components. One component registers to fire an event in its markup and the Events are fired from the controller, triggered by a user interface. Another component handles the event and receives …

Read moreEvents in Lightning Aura Component

How to pass values from Child-to-Parent Lightning Aura component using Component Event

To pass values from child aura component to parent, i.e up the hierarchy we need to create a custom lightning event. FLOW OF A LIGHTNING EVENT Create > Register > Fire > Handle We create a component event and is registered in the child components and thereby handled by the parent component. A component event is fired by …

Read moreHow to pass values from Child-to-Parent Lightning Aura component using Component Event

How to pass values and call a method from Parent-to-Child Lightning Aura Component

Communicating down the hierarchy we have two ways to go: 1. Using aura:attribute: The aura: attribute is most commonly used to communicate from parent to child, kind of down the hierarchy. An attribute is more like a variable present on a component or event. Parent Component.cmp (Sender) ChildComponent.cmp (Reciever) 2. Using Aura : Method We …

Read moreHow to pass values and call a method from Parent-to-Child Lightning Aura Component

Creating Contact Record in Lightning Web Component – LWC | Create a Contact form and Show Toast message 

In this post, we are going to create a very basic simple contact form to create a contact record in LWC. This is like having a page/component having input fields for receiving data from the user and thereby creating a contact record in the backend. Without further ado, let’s get started. We have three basic …

Read moreCreating Contact Record in Lightning Web Component – LWC | Create a Contact form and Show Toast message 

How to Change Field Level Security of Fields on Object using VsCode

In our last post, we discussed on bulk creation of custom fields but it had a lag. It did not successfully make the fields accessible to various profiles as it had all FLS or Field Level Security set as blank. Imbibing FLS settings for all fields individually can be painstaking if we have an incredible …

Read moreHow to Change Field Level Security of Fields on Object using VsCode

error: Content is protected !!