How would one navigate between lightning apps using the Salesforce1 javascript functions?

I see actions for navigateToURL and navigateToSobject, etc, but not NavigateToLightningApp?

  • is there any solution or work around for it? I have the exact problem. Oct 29, 2017 at 20:29

3 Answers 3


Per the documentation on pageReference types it is possible to navigate to an app using URLs with the app's developer name such as /lightning/app/standard__LightningSales.

A few other examples from the documentation:

URL Format


URL Format Examples

Navigate to the app's homepage using the appId


Navigate to an object record's page in the app using the appId


Navigate to the app's homepage using the appDeveloperName


Navigate to an object record's page in the app using the appDeveloperName



Lightning Apps are meant to be single page Apps, not multi-page apps. If a means were available to navigate from one app to another other than through the SF1 Menu, that would effectively make them multi-page apps. To the best of my knowledge, what you're asking for does not exist at this time.

  • not buying that one. Gmail and Gcal are SPAs, but I can navigate between them without issue. Since there's a SF1 "tab", and I can hit reload in the /one/one.app option, it has a URL somewhere. Jul 20, 2015 at 14:58
  • I understand what you're saying, but SF hasn't added the functionality you speak of at this time. There's clearly an underlying Menu Command that will take you to an Object that's similar to navigateToSObject or navigateToList, but there isn't an equivalent when it's a Lightning page unless you use an Action.
    – crmprogdev
    Jul 20, 2015 at 15:12
  • I'd settle for how to parse the url schema, then we could use navigateToURL() Jul 20, 2015 at 15:14
  • But as you already know, navigateToURL() won't work for you. You've got to get to the lightning subdomain to use it and I don't believe it will allow you to do that other than via an Action.
    – crmprogdev
    Jul 20, 2015 at 15:26
  • is there any information recently about this topic? Dec 18, 2015 at 12:19

navigateToComponent was the closest we had, and it's gone now. Right now your only option is to mount your Lightning Page or Component as a tab, and handle all navigation yourself by dynamically creating the components you desire.

Coming soon (hopefully) will be the ability to mount a lightning component as a recordTab or as a quick action, but we don't have that yet.

  • any new news for this topic now? I mean this would be a really useful feature because, in this moment, I have multi-pages and we moving from one to another in VisualForce classic. Dec 18, 2015 at 12:18

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .