You need to sign in to do that
Don't have an account?
Brian11
How to handle the callback using Quick ActionAPI
I am firing a quick actions using the actionApi from a lighting component. The action fires but I dont have access to a callback so that I can execute other functions to refresh my component.
The console.log below fires when the quickAction modal is open. It is not after it is closed. Does anyone have a workaround?
The console.log below fires when the quickAction modal is open. It is not after it is closed. Does anyone have a workaround?
actionAPI.selectAction(args).then(function (result) { var fields = result.targetableFields; console.log("im here", fields) }).catch(function (e) { if (e.errors) { //If the specified action isn't found on the page, show an error message in the my component } });
Create an attribute in the component like below
Ste p2 : Set the value