How to display dynamically the list of opportunities Using Javascript controller, Helper and Apex Class Method in lightning component Salesforce | How to fetch and display list of Opportunity records using aura:iteration in Lightning Component Salesforce

Files we used to display opportunity records in lightning component →

displayDataCmp.cmp

Create Lightning Component →

Step 1:- Create Lightning Component : displayDataCmp.cmp

displayDataCmp.cmp [Lightning Component File]

Create JavaScript Controller →

Step 2:- Create Lightning Component : displayDataCmpController.js

displayDataCmpController.js [JavaScript Controller]

Create JavaScript Helper →

Step 3:- Create Lightning Component : displayDataCmpHelper.js

displayDataCmpHelper.js [JavaScript Helper File]

Create Apex Class Controller →

Step 4:- Create Apex Class : displayDataCtrl.apxc

displayDataCtrl.apxc [Apex Class Controller]

Create Lightning Application →

Step 5:- Create Lightning Application : displayDataApp.app

displayDataApp.app [Component Application File]

Further post that would you like to learn in Salesforce FAQ (Frequently Asked Questions)

Final Output → To get source code live demo..

--

--

Easy to learn step-by-step online tutorial by www.w3web.net

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Vijayk

Vijayk

Easy to learn step-by-step online tutorial by www.w3web.net