+ Start a Discussion
Roy SinghRoy Singh 

When the action is completed i want to redirect to List View how can i achieve this

Hi Guys,

I have embedded a lightning component in a visualforce page so that this vf page can be called from List VIew in Lightning When the action is completed i want to redirect to List View how can i achieve this. I have tried using events but vf page doesnot support events

Thanks in Advance
Raj VakatiRaj Vakati
you can use  Lightning force:navigateToURL   to the  List View 
 
var eUrl= $A.get("e.force:navigateToURL");
    eUrl.setParams({
      "url": 'list VIEW URL'
    });
    eUrl.fire();