Newer Version Available
Quick Action API Considerations
Before working with the Lightning Quick Action JavaScript API methods, review some
considerations that might impact your implementation.
The Quick Action APIs work with most action types.
| Action Type | Supported? | Notes |
|---|---|---|
| Create a Record | Yes | Supported in all Lightning apps, on any object. |
| Custom Visualforce | Yes | Supported in all Lightning apps, on any object. |
| Flow | No | Results in error. |
| Log a Call | Yes | Supported in all Lightning apps, on any object. |
| Aura Component | Yes | Supported in all Lightning apps, on any object. |
| Send Email | Yes | Supported in all Lightning apps, on any object. |
| Update a Record | Yes | Supported in all Lightning apps, on any object. |
The lightning:quickActionAPI component supports utility popout. However, the getCustomAction method doesn’t work with utility popout yet. The Salesforce Classic Publisher APIs also support utility popout if you place them in a Visualforce page that’s used in the utility bar. The customActionMessage doesn’t support utility popout either.
The Quick Action APIs don’t support the following items.
- Opportunity products
- Knowledge articles
- Crew Size field on the Service Crew object
- Social quick action in the case feed publisher provided with Social Customer Service
- Communities—the lightning:quickActionAPI component doesn’t work in communities