What is lightning:quickActionAPI
alternative to call from a custom lightning app?
When I try to call any method from the spec I am getting the following error: The API you used isn’t supported on this page. You can only execute this API on record pages.
. After checking the spec we can see that the type of actions with which the lightning:quickActionAPI
can work is object
, so it won`t work with custom lightning app.
That is why I am asking what else can I use to perform quick actions in lightning app.
There is not x-y problem
due to this question being asked previously. So, please, do not suggest a completely different approach like using force:recordCreate
, force:recordData
or lightning:recordEditForm
.