Tag: API Integration
-
How to Retrieve Named Principal Values in Apex?
Question I have a scenario where I need to generate an additional token before making a callout. This token requires API_KEY and API_SECRET, which I have stored in Named Principals. The usual approach, as mentioned in Salesforce documentation and forums, is to use the following formula: However, this does not work because the formula is…