I have developed a few lightning component quick actions on my sandbox and all was well.
Now I have deployed them to production and I cannot see them when I try to add an action through the object's setup page:
As you can see I get an error: Error: No Lightning Component Quick Actions are available for your organization
.
I hope that I have set the component the right way - this is my markup:
<aura:component implements="force:lightningQuickAction,force:hasRecordId,flexipage:availableForAllPageTypes">
<aura:attribute name="recordId" type="String" />
<aura:attribute name="methodName" type="String" default="defMethod"/>
<c:YH_ExecuteApex refreshTab="true" methodName="{!v.methodName}" params="{!v.recordId}"/>
</aura:component>
Can anyone help me?
Am I doing something wrong?