+ Start a Discussion
Souvik Kundu 3Souvik Kundu 3 

I have used Onclick JavaScript list button to to open a modal dialog in salesforce classic. But Onclick JavaScript List button is not visible in Lightening mode. Can anyone help me on this. Or please let me know if there is any other way to achieve this.

Chris Gary CloudPerformerChris Gary CloudPerformer
If you are trying to open a modal dialog box within your Lightning component or App, The Salesforce Lighining Design system offers that.  See https://www.lightningdesignsystem.com/components/modals/ for more information on how to use it. In order to trigger the Modal, simply enable the component via Javascript like you would enable/disable any other element within your Component.