This is currently an OnClick JS button that I have. Can this be converted into a Lightning Component?


Javascript buttons are not supported in lightning because of security concerns.

Salesforce has this blog which provides some alternatives to Javascript buttons in lightning world. This Trailhead module would help as well.

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.