Tag Archives: Lightning aura component

How to remove Apex Code from Production Environment

It is fairly effortless to delete an unwanted apex class or trigger in a Sandbox Environment. On the other hand, Unlike the Sandbox environment, it is not possible to delete code from Production environment just by clicking in the DELETE Button. Here are some methods that may work for you. NOTE: Please consider that deleting… Read More »

How to Display Toasts or Notices using Lightning : NotificationLibrary

In this blog, we will discuss on how to display messages via toast or notices using Lightning:NotificationLibrary component. Lightning:NotificationLibrary Lightning:NotificationLibrary component provides an easy way to display messages via toasts or notices. However, Toast message helps in providing feedback to users. Above all, a toast message can be closed automatically after the predefined period of… Read More »

How to Add or Remove CSS style from the component/element during runtime or dynamically

In this blog, we will discuss how to Add and Remove CSS style from the component or element during runtime. To add and remove CSS style from the component or element, you need to use $A.util.addClass(object element ,string class) and $A.util.removeClass(object element, string class) methods, where “element” is the component to add and remove the… Read More »

How to add Utility bar in a Salesforce lightning application

In this blog, we are going to learn about how to add utility bar in a lightning app. The component helps user, save navigation time, that they might have consumed while performing certain tasks. Firstly, it helps us to achieve it by just a few click without having to navigate to a different page. Secondly,… Read More »

How to Dynamically set base 64 image in lightning: carousel image

In this blog we are going to learn about how to dynamically set image in lightning: carousel. We use this component to display the collection of image. In addition, this component show only one image at a time. For example, let’s start with these component’s attribute. Src: This attribute stores the path of the image.… Read More »

How to Use Lightning Component in Visualforce page

In this blog, we will discuss on how to use Lightning component in Visualforce page. Kindly follow the below steps in order to use Lightning component in Visualforce page. Create Lightning Component SampleComponent Firstly, in this lightning component, we are using ‘PassesValueFromVF‘ attribute which is set/pass from Visualforce page. Refer the below code to define… Read More »

Add Delete Row Dynamically In Salesforce Lightning

In this blog, we will discuss how to Add Delete Row Dynamically In Salesforce Lightning Component. We shall take an example of adding account records in Salesforce using Add Delete Row functionality. Similarly, we have created 1 sample lightning component using which user can create multiple records as per requirement by Adding or Deleting new… Read More »

How to debug in lightning using developer console API

A major part of any Salesforce developer’s job is debugging. Because Salesforce has a multitenant architecture, debugging on the platform is a bit different than it might be in other development environments. Commonly we use console.log() method to log on the console screen, but console provides wide range of methods which we helps to debugging… Read More »

Using Aura method to pass value from Child component to Parent component (with example)

In this blog, we will discuss how to use <aura:method> to define a method as part of a component’s API. This enables you to directly call a method in a component’s client-side controller instead of firing and handling a component event. The <aura:method> tag has following attributes: Attribute Type Description name String The method name.… Read More »