Activity Forums Salesforce® Discussions Which interface to implement so that a lightning component can be used as quick action?

  • Manpreet

    Member
    May 1, 2018 at 10:47 am

    Hi pranav,

    We need to implement the following “force: lightningQuickAction” so that we can use the component as a Quick Action

    Thanks.

  • Aman

    Member
    May 1, 2018 at 10:49 am

    Hi Pranav,

    Add the force:lightningQuickAction or force:lightningQuickActionWithoutHeader interface to a Lightning component to enable it to be used as a custom action in Lightning Experience or the Salesforce mobile app. You can use components that implement one of these interfaces as object-specific or global actions in both Lightning Experience and the Salesforce app.
    When used as actions, components that implement the force:lightningQuickAction interface display in a panel with standard action controls, such as a Cancel button. These components can display and implement their own controls in the body of the panel, but can’t affect the standard controls. It should nevertheless be prepared to handle events from the standard controls.

    Thanks

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos