+ Start a Discussion

Button functionality working in VF not in Lightning. as JS buttons dosent work in Lightning what is alternate to make it work in both VF and Lightning.

Hi , i have a in line vf button which in that -----oncomplete="window.top.location = '/{!Case.id}' "---- this oncomplete funtionalityworking in VF properly but not in Lightning?? i need make that command button to work in both vf and lightning.
SandhyaSandhya (Salesforce Developers) 

I would suggest you go through the below trailhead challenge for the same.

Please mark it as solved if my reply was helpful. It will make it available for other as the proper solution.
Best Regards