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

Create Batch Apex Job and Scheduled Apex to update Account related Contact Record field

Asynchronous apex jobs are executed when the resources are available. So any calling method which calls Asynchronous apex won’t wait for the outcome of the Asynchronous call. This is especially beneficial when we want to process bulk data and stay within the governor limits. The processing limit for asynchronous calls is also greater than that in the case of Synchronous jobs. Asynchronous Apex can be executed in the following manner.

error: Content is protected !!