Is it possible to call a navigation menu url on the button click of a lightning component at all?

My Navigation menu right now, refers to standard 'My Cases' page. How do i call it? I tried below but its not the right way, it opens up the same page where the button exists

var urlEvent = $A.get("e.force:navigateToURL");
              "url": "My Cases"
  • 3
    You can navigate to a list view using the force:navigateToList event. ps: the force:navigateToUrl event is not supposed to work like this. You have to put an url in the url parameter. Jul 24, 2017 at 14:40
  • Thanks much!!! @Martin Lezer, it works with force:navigateToList... Jul 24, 2017 at 18:53


You must log in to answer this question.

Browse other questions tagged .