You need to sign in to do that
Don't have an account?
Redirect to Lightning Component from Visualforce page
Is there a way to redirect to a Lighting Component from a Visualforce Page and pass in attribute values?
You need to sign in to do that
Don't have an account?
I think there are two ways.
1) Use Lightning Application - Lightning Component cannot have an unique URL but Lightning Application can. So you wrap the component in lightning application and receive URL parameters from VF page. Details in getting URL parameter in Lightning Application is below,
http://salesforce.stackexchange.com/questions/106543/lightning-app-getting-url-parameter
2) Wrap VF page in lightning component - See examples in developers blog
https://developer.salesforce.com/blogs/developer-relations/2017/01/lightning-visualforce-communication.html
https://developer.salesforce.com/forums/?id=906F0000000BFkXIAW
The Salesforce Lightning URL is something like "/one/one.app#_______" . The blank contains some encoded value in the URL. The encoded value is nothing but the details of the Component/Page in Base64 encoded form.
Use the below code in Javascript in Visualforce to navigate to Lightning Components-