get Custom setting values from apex method in lightning component -- w3web.net

Example of Custom Settings to get all values from List Custom Setting Using Apex Class Method in Lightning Component Salesforce | fetch all value from custom setting in salesforce

Hey guys, today in this post we are going to learn about How to get all values from List Custom Setting Using Apex Class Method in Lightning Component Salesforce

Files we used in this post example

myCustomSettingApp.app Lightning Application It is used for call the component to preview on browser.
myCustomSettingCmp.cmp Lightning Component It is used for create a table for display the Custom Setting’s Values
myCustomSettingCmpController.js JavaScript Controller File It is hold Javascript doInit functionality.
myCustomSettingCmpHelper.js JavaScript Controller Helper File It is hold for Javascript Helper Function to get Custom setting values from apex method
myCustomSettingCtrl.apxc Apex Class Controller It is used for get Custom setting values from Apex Class Method

Live Demo

get Custom setting values from apex method in lightning component -- w3web.net

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

get Custom setting values from apex method in lightning component -- w3web.net

Create Lightning Application

Step 1:- Create Lightning Application : myCustomSettingApp.app

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

myCustomSettingApp.app [Component Application File]

Create Lightning Component

Step 2:- Create Lightning Component : myCustomSettingCmp.cmp

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

myCustomSettingCmp.cmp [Lightning Component File]

Create Component JavaScript Controller

Step 3:- Create Lightning Component : myCustomSettingCmpController.js

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

myCustomSettingCmpController.js [JavaScript Controller]

Create Component JavaScript Helper

Step 4:- Create Lightning Component : myCustomSettingCmpHelper.js

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

myCustomSettingCmpHelper.js [JavaScript Helper File]

Create Apex Class Controller

Step 5:- Create Apex Class : myCustomSettingCtrl.apxc

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

myCustomSettingCtrl.apxc [Apex Class Controller]

get Custom setting values from apex method in lightning component -- w3web.net

Further post that would you like to learn in lightning component.

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

7 thoughts on “Example of Custom Settings to get all values from List Custom Setting Using Apex Class Method in Lightning Component Salesforce | fetch all value from custom setting in salesforce”

Leave a Comment