You need to sign in to do that
Don't have an account?
srividya UI
Lightning App in custom button
HI,
I developed one lightning app. I want this app can be opened when click on custom button on Account.
So, how to the open lightning app when click on custom button on Account detail page.
I developed one lightning app. I want this app can be opened when click on custom button on Account.
So, how to the open lightning app when click on custom button on Account detail page.
i also try this but there is no way to add direct lightning app on custom button on Account detail page. but i achieve this by create a visualforce page and add lightning app on that visualforce page after that add your visualforce page as Content Source of custom button
for add lightning app to vf page follow below link
http://peterknolle.com/lightning-components-in-visualforce/
i hop its helps you
Please Mark it best answer if it helps you so it make proper solution for others
Thanks
Currently there is no way to fire out a Lightning App from a button component on any SF pages. But you can do as Piyush Said. As you created the app, you can create a Visualforce page and integrate your app in the same page using Lightning:Out Method. In this way you can view and access the same app but using the VF page and you can call the same page from a custom button or link.
In you Lightning App Page write two extra lines:
Here c is used as default namespace, if your Org has one put that there.
and in the VF page,
Here divid is the id of the div where your Lightning App has to be loaded in the VF page.
Hope that helps,
Regards,
Alsinan
Just add a URL Button and in URL put
/c/APP_NAME.app