You need to sign in to do that
Don't have an account?
Daniel Fuller
How do you launch a standalone Lightning app from a Salesforce Org?
Hello everyone,
I have a question in an area where I am stuck after creating a new stand-alone Lightning app. I do not want to run the Lightning app on the Salesforce1 platform but want to run it on a desktop platform from within the Salesforce org. What process does one have to go through to set up a stand alone Lightning App to be launched from within the Salesforce org? Is there a way to link Salesforce tabs to the Lightning App that will launch the app when they are clicked like you can with Visualforce pages or to add the Lightning App in the Apps menu? I am not able to find any documentation or how to use desktop Lightning Apps from within Salesforce or if that is possible at this time.
I have a question in an area where I am stuck after creating a new stand-alone Lightning app. I do not want to run the Lightning app on the Salesforce1 platform but want to run it on a desktop platform from within the Salesforce org. What process does one have to go through to set up a stand alone Lightning App to be launched from within the Salesforce org? Is there a way to link Salesforce tabs to the Lightning App that will launch the app when they are clicked like you can with Visualforce pages or to add the Lightning App in the Apps menu? I am not able to find any documentation or how to use desktop Lightning Apps from within Salesforce or if that is possible at this time.
Thank you for the comments. Along the lines with what @cdylancarter mentioned, I have discovered a few ways to do this now that I wanted to share to this post for others.
1.) You can create a Web Tab and add the hard-coded URL for the Lighting App using the syntax cdylancarter mentioned as the URL. This will open the Lightning App inside of your Salesforce environment; therefore, you will still have the sidebar, header, standard stylesheets, etc.
2.) The more preferable way I have found is to create a Connected App in the Salesforce environment and specify the Lightning App URL as the "Start URL". You can then add the App to the App Launcher and it will appear in your normal app dropdown menu so that you can launch the app directly from there.
All Answers
(And yes, this does mean that salesforce1, which you can find at one/one.app is a Lightning app!)
Thank you for the comments. Along the lines with what @cdylancarter mentioned, I have discovered a few ways to do this now that I wanted to share to this post for others.
1.) You can create a Web Tab and add the hard-coded URL for the Lighting App using the syntax cdylancarter mentioned as the URL. This will open the Lightning App inside of your Salesforce environment; therefore, you will still have the sidebar, header, standard stylesheets, etc.
2.) The more preferable way I have found is to create a Connected App in the Salesforce environment and specify the Lightning App URL as the "Start URL". You can then add the App to the App Launcher and it will appear in your normal app dropdown menu so that you can launch the app directly from there.
I tried -- https://cs42.salesforce.com.lightning.force.com/hmhco/KKTestApp1.app
I don't get an error but it hangs. My guess is the URL may be correct but it doesn't work in sandboxes. ('hmhco' is our domain.)
I tried -- https://sb2.cs42.salesforce.com.lightning.force.com/hmhco/KKTestApp1.app
And I get a server not found error.
<lightningNamespace is the namespace your app resides in (default is "c"). HTH
@Dave Alvaro:
Would like to display my custom lighning app(name = customlightningapp), to be loaded inside a community.
the url "https://communitydomain/name/c/appname " is working but some events and libraries are not working as it is not in one/one.app context
How can I modify the url to include the libraries I want, guessing that the url after modification will look something like
"communitydomain/name/one/one.app/appname"
Appreciate any help