What is '$A' in Lightning Component Aura Framework?

Mike Arthur • 9 June 2020
Whilst learning about Aura components, you will come across $A.

E.g. When making a call to the server from your javascript client controller to retrieve data from the Apex server controller, you queue up the action with '$A.enqueueAction(action)', or when you create a framework event you use '$A.get("e.force:createRecord")'

What is '$A' and where can I find out more about it?

The $A namespace is the entry point for using the framework in JavaScript code.  It allows you to interact with the framework.



My Blog of Salesforce Stuff

by Mike Arthur • 16 October 2021
'XHR Failed' error when trying to install VS Code extension
by Mike Arthur • 8 May 2020
Authorise a Salesforce Connected App using OAuth 2.0 JWT Bearer Flow
by Mike Arthur • 26 April 2020
REST API Connection to Salesforce Connected App Using OAuth 2.0 Authentication from Postman
by Mike Arthur • 23 March 2020
How to create a Lightning tab menu with dropdown sub-menu
by Mike Arthur • 27 November 2018
How to show a month by month trend chart with multiple years on same chart
by Mike Arthur • 6 November 2018
What to do if you receive emails about expiring certificates
22 August 2018
Process json strings when working with integrations
by Mike Arthur • 22 August 2018
If you're switching email accounts you can copy appointments from one calendar to the other
by Mike Arthur • 22 August 2018
When you search in Outlook 2016, how do you see in which folder you filed an email in the results?
by Mike Arthur • 10 May 2018
A change set or ant deployment will fail if a field that is required in the field definition is included in a profile or permission set that is being deployed
More posts