1

I have a lightning component that I want to open as a modal from the ListView of Contacts to send a text message to the checked contacts, exactley how the standard Send Email button works but for text messages instead.

Does anyone know how to do this? When I create a custom ListView button I'm unable to choose lightning component, only visualforce.

closed as off-topic by Sebastian Kessel, glls, Himanshu, Reshma, Pranay Jaiswal Mar 19 at 9:28

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions on problems in code you've written must describe the specific problem and include valid code to reproduce it. For help writing short, self-contained syntactically-valid examples, see: SSCCE.org" – Sebastian Kessel, glls, Himanshu, Reshma, Pranay Jaiswal
If this question can be reworded to fit the rules in the help center, please edit the question.

  • Have you tried using an Action? That should allow you to launch a custom Lightning Component. – AvailableName Mar 18 at 14:11
  • I can't use action in ListViews, only works in Record detail view. – Andegosu Mar 18 at 14:33
0

You can not create a List view button of type Lightning Component. As a workaround You can try with Visualforce page and embed it in a button of type visualforce . The list view only allows action of type create a record and update record in Lightning.

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