You need to sign in to do that
Don't have an account?
Can we access $Setup global variable on lightning component?
I want to access Default Organization Level Value for one of the field on custom setting on Lightning component. I know we can access it on visualforce using $Setup global variable, but I dont see anything mentioned in documentation for the lightning. I know we can access it using Apex side controller.But before going for that approach I want to make sure if we can access it directly using global variable.
May I suggest you please refer the below link for reference on a global variable on lightning component.
- https://salesforce.stackexchange.com/questions/148242/are-global-attributes-possible-in-lightning-component
Hope it will be helpful.Best Regards
Rahul
There is no direct way to access custom setting in lightning. The only way to access custom setting is using server side controller.
https://salesforce.stackexchange.com/questions/132177/how-to-access-a-hierarchy-custom-setting-from-lightning-component