You need to sign in to do that
Don't have an account?
Vishakha Khatri 2
i want to call lightning component with parameter in salesforce1 using custom button or link. How can i achieve this ?
i want to call lightning component with parameter in salesforce1 using custom button or link. How can i achieve this ?
I have a requirement like , I have to add a custom button on Accout Detail page and on click of that I need to use my Lightning Visualforce page in Salesforce1. Please suggest how can I achieve this
I have a requirement like , I have to add a custom button on Accout Detail page and on click of that I need to use my Lightning Visualforce page in Salesforce1. Please suggest how can I achieve this
May I request you please find the suggested solution below from stack exchange community with same issue.
As of the beta release in Spring 15, the following are the only ways to use custom lightning components in the Salesforce1 Mobile Application.
A custom tab of type Lightning Component
A custom tab of type Lightning App which has a set of lightning components on it
The first is well documented in the Lightning Component Developer guide.
The second will be beta soon, and you should follow progress on the success community group for Lightning App Builder.
Lightning components are not callable by URL, in fact. They are invoked events registered in the Lightning Component Framework.
This is, in fact, how you invoke standard lightning components.
Let's say I wanted to make the toast notification pop-down in my custom Lightning UI,
I would do something like this: When this kicks off, ostensibly when something else was successful, the event here fires, gets the lightning component for the toast feature, and makes it appear and animate, etc.
I suspect that when Lightning reaches more maturity there will be some analog to the custom-button-or-link-to-Visualforce feature we all know and love today, but it will have to follow the constructs of lightning components which use events, it suspects strongly it will not follow the Visualforce construct of request-a-URL.
Please mark it as solved if it's resolved so that it gets removed from the unanswered queue which results in helping others who are encountering a similar issue.
Best Regards,
Nagendra.