+ Start a Discussion

I have created a custom lightning button with url and mapped the lightning component in URL but the page is not displayed in lightning.

Onclick of button, it should update the owner field in opportunity and then show a toast message for user. This is what i have in my helper class.
Aman PathakAman Pathak
Please share the helper code as well