display multiple objects from selected radio button -- w3web.net

Lightning aura:handler change method to Call Multiple Apex Methods for different type of custom object uses of selected radio button value in aura component controller Salesforce | how to display multiple objects from selected radio button in lightning component Salesforce

Hey guys, today in this post we are going to learn about How to lightning aura:handler change method to Call Multiple Apex Methods for different type of custom object uses of change radio button value in aura component controller Salesforce.

aura:handler change method event is fired when an attribute value changes. Handle this event using the aura:handler tag. A component can have multiple aura:handler tags to detect changes to different attribute values. To more details about aura:handler change method in Salesforce click Here.

Real time scenarios:- Create multiple custom object and fetch the records by selected radio button value uses of aura:handler change method in lightning component controller.

Files we used to Call Multiple Apex Methods in aura component controller in Salesforce

customCredentialCmp.cmp Lightning Component It is used for create a table for Iterate the list of custom object records on lightning component
customCredentialCmpController.js JavaScript Controller It is hold Javascript handleChangeAction and setCredentialVal functionality to get the radio button selected value.
customCredentialCmpHelper.js JavaScript Controller Helper It is hold for Javascript Helper Function to get multiple objects values from apex method.
customCredentialCtrl.apxc Apex Controller It is used for get List of multiple objects records from Apex Class Method
customCredentialCmpApp.app Lightning Application It is used for call the component and preview on browser.
List of Custom Object:- Custom_Credential__c, HDFC_Credential__c, IDBI_Credential__c Fields are same for all of three custom objects:- Name, API_Endpoint__c, ClientId__c, Client_Secret__c,

Final Output

display multiple objects from selected radio button -- w3web.net

Other related post that would you like to learn in lightning component.

  • Find the below steps

Create Lightning Component

Step 1:- Create Lightning Component : customCredentialCmp.cmp

From Developer Console >> File >> New >> Lightning Component

customCredentialCmp.cmp [Lightning Component File]

Create JavaScript Controller

Step 2:- Create Lightning Component : customCredentialCmpController.js

From Developer Console >> File >> New >> Lightning Component >> JavaScript Controller

customCredentialCmpController.js [JavaScript Controller]

Create JavaScript Helper

Step 3:- Create Lightning Component : customCredentialCmpHelper.js

From Developer Console >> File >> New >> Lightning Component >> JavaScript Helper

customCredentialCmpHelper.js [JavaScript Helper File]

Create Apex Class Controller

Step 4:- Create Apex Class : customCredentialCtrl.apxc

From Developer Console >> File >> New >> Apex Class

customCredentialCtrl.apxc [Apex Class Controller]

Create Lightning Application

Step 5:- Create Lightning Application : customCredentialCmpApp.app

From Developer Console >> File >> New >> Lightning Application

customCredentialCmpApp.app [Component Application File]

Create a Flyout Account, It will help you to grow make more money for a better living.

List your blog on Flyout and start making money for publishing sponsored content on your blog. Here’s the invite link. Get Started for Free

Check Out:- Earn Unlimited Everyday With This Trick:- Click Here

FAQ (Frequently Asked Questions)

What is radio button in Salesforce lightning?

A lightning:radioGroup component represents a group of radio buttons that permit only one button to be selected at a time.

What is radio button what is its use?

Radio buttons allow the user to select one option from a set.

What is required to make a group of radio buttons?

To group radio buttons they must all have the same name value. This allows only one to be selected at a time and applies required to the whole group.

What is change handler in lightning?

Configure a component to automatically invoke a change handler, which is a client-side controller action, when a value in one of the component's attributes changes. When the value changes, the valueChange. evt event is automatically fired.

Related Topics | You May Also Like

Hi, This is Vijay behind the admin and founder of w3web.net. I am a senior software developer and working in MNC company from more than 8 years. I am great fan of technology, configuration, customization & development. Apart of this, I love to write about Blogging in spare time, Working on Mobile & Web application development, Salesforce lightning, Salesforce LWC and Salesforce Integration development in full time. [Read full bio] | The Sitemap where you can find all published post on w3web.net

1 thought on “Lightning aura:handler change method to Call Multiple Apex Methods for different type of custom object uses of selected radio button value in aura component controller Salesforce | how to display multiple objects from selected radio button in lightning component Salesforce”

Leave a Comment