You need to sign in to do that
Don't have an account?

Issue while calling to Lightning (Aura) Component from VF page
Hello I need help to figure out when the VF page is not able to call the Lightning component correctly
Following this article: https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/components_visualforce.htm
https://developer.salesforce.com/forums/?id=9060G0000005jWmQAI
When I make a call I am able to launch the lightning component in the VF page but if I click any button it Is not working and I am getting this error.

When I click the cancel button it should redirect me back to the opportunity record page but it not happening.
If I use that lightning component in a quote action it works perfectly but not when I call from the VF page.
any thought?
Following this article: https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/components_visualforce.htm
https://developer.salesforce.com/forums/?id=9060G0000005jWmQAI
When I make a call I am able to launch the lightning component in the VF page but if I click any button it Is not working and I am getting this error.
When I click the cancel button it should redirect me back to the opportunity record page but it not happening.
If I use that lightning component in a quote action it works perfectly but not when I call from the VF page.
any thought?
Can you post a sample snippet that can be checked in our demo org so as to look further and respond.
Thanks.
Thank you for your help.
Here is the code for the VF page and application.
VF page:
Application:
Please let me know if you need code for the lightning component as well thank you.