0

I am looking to add a custom button to the Account list view that opens a Lightning component. How can I do this?

0

You can not call a Lightning Component from List Button directly. You need to do it using visual force page. You can check the Component developer guide for this. Complete solution is given there.

0

Another approach could be overriding a standard action (like view, new, edit) with your Lightning Component as described here:

https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/components_using_lex_s1_action_overrides.htm

Not sure if that fits your use case as overriding will be global and not only triggered from a list view.

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.