+ Start a Discussion
Certification PracticeCertification Practice 

Lightning Component Embedded on VF page needs to run in classic

I have a lightning component that is updating a record and working fine when I add it to the standard Account page in lightning experience. but when I tried to embed the component on the VF page (Which runs in classic mode) and updating the records it is giving error. 
Is it possible to achieve it?

If yes please suggest some resources.
Whether you are using force:createRecord or lightning:navigation, they both only work in LEX environment and didn't support LC inside Visualforce.
There are some hacks available, you can try that but not sure how long that will work.
Hack: https://salesforce.stackexchange.com/questions/124405/lightning-issue-while-calling-createrecord-event-component

Tushar Sharma