3
votes
How to solve "action.setParams is not a function" error for an Aura component?
The solution was indeed just a few crucial characters.
I changed:
<c:callAccountSpecificMethod method="c.getHistoricOrdersFromERP" accountId="{!v.recordId}"/>
into:
<c:...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
lightning-aura-components × 9484lightning × 2979
apex × 995
javascript × 926
lightning-experience × 887
aura × 813
lightning-apps × 671
lightning-web-components × 572
lightning-design-system × 511
visualforce × 457
community × 412
locker-service × 304
css × 216
javascript-controller × 213
salesforce1-app × 203
lightning-events × 194
slds × 185
lightning-community × 176
aura-attribute × 174
lightning-datatable × 143
visual-workflow × 120
aura-iteration × 120
controller × 113
community-builder × 87
quickaction × 84