After much research, I couldn't see my question answered. And the question is: is possible, from a related list, have a custom button that opens a lightning modal dialog, as is the behavior of the standard buttons of these related lists?

My research tells me that it isn't possible given that the onclick Javascript buttons are no longer allowed in the Lightning experience but would like to confirm this with you.

PS: I leave out some pictures to show better what I want.

enter image description here

enter image description here

  • I have a feeling that you should be able to, but I'll have to do some research. – sfdcfox Oct 9 '16 at 5:42

With the new Winter 17 release you can Launch a Lightning Component from an Action

So if your modal would be this lightning component, you can launch it as an action

| improve this answer | |

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.