I want to add a lightning quick action in the list view of opportunity. The quick action should use the Lightning component. How to add the quick action with lightning component in the List View?

  • What does your quick action do? Does it create or update a record? – Jayant Das Jul 10 '18 at 23:53
  • Quick action should open the layout with Opportunity, Account fields which is done in Lightning component – user57911 Jul 11 '18 at 4:00

I'm afraid that's currently not possible (Summer '18).

You can add quick actions to list view but not the ones that are invoking lightning components.

I tried for example to create quick action that creates a record then I added it to a list view from Setup-> Object Manager -> Desired Object -> Search layouts -> List View -> Click edit -> Move quick actions in duallistbox in List View Actions in Lightning Experience section. I was able to add quick action that creates or updates the record, but quick action that invokes lightning component is not visible at all in those lists

enter image description here

| improve this answer | |

You can use the "lightning:isUrlAddressable" to access a lightning component using an url and create a "List Button" with behavior as "Display in existing window without sidebar or header" that directs you to the component URL, as mentioned in the documentation:


The URL in the list button should look like below:

{!URLFOR('/lightning/cmp/namespace__componentName', null, [param=value])}
| improve this answer | |
  • How are the IDs of the selected records passed to this URL? – David Cheng Dec 26 '19 at 19:05
  • The button appears this way but it is not opening the lightning component. – Krishnan Mishra Dec 31 '19 at 10:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.