Tag: lightning
-
How Can I Call the Salesforce API from a Lightning Component?
Question I need to call the Apex Wrapper Metadata API from a Lightning component, but I am facing an issue where there is no native support for acquiring a valid API session ID from an @AuraEnabled method in an Apex controller. Salesforce documentation suggests using a Named Credential to bypass this security restriction. However, when…