You need to sign in to do that
Don't have an account?
SFDC Forum 9
Calling lightning component from VF page
Hi I got to migrate call center app to lightning.So there are two vf pages.
1) In Home page, Click on "Request " button --> enter request ID --> click on Search
It connects to web service and get the result back in list view.
Click on any record in that list.
New workspace tab will get opened which is Customized Case detailed page (VF page) and it contains customized details at end of the page and detailed pages at Top panel.
Now as part of migration, I have migrated customized Home page(VF1) to lightning, created new Lightning Application and placed this VF1 as Home page in lightning App.
Then I am able to get the records from webservice and display in list view.So far so good.
While migrating second page ,I got to recreate VF2 as lightning Component as it has java script which is not supporting in lightning.
I have done the same , able to view as expected in lightning component.
Now all i have to do is, connect these two i.e Lightning migrated VF1
and Lightning component..
Please anyoneof suggest as early as possible.
1) In Home page, Click on "Request " button --> enter request ID --> click on Search
It connects to web service and get the result back in list view.
Click on any record in that list.
New workspace tab will get opened which is Customized Case detailed page (VF page) and it contains customized details at end of the page and detailed pages at Top panel.
Now as part of migration, I have migrated customized Home page(VF1) to lightning, created new Lightning Application and placed this VF1 as Home page in lightning App.
Then I am able to get the records from webservice and display in list view.So far so good.
While migrating second page ,I got to recreate VF2 as lightning Component as it has java script which is not supporting in lightning.
I have done the same , able to view as expected in lightning component.
Now all i have to do is, connect these two i.e Lightning migrated VF1
and Lightning component..
Please anyoneof suggest as early as possible.
All Answers
Reference:https://newstechnologystuff.com/2019/05/27/use-lightning-web-components-in-visualforce/
Although it uses LWC, steps are the same.
If this answer helps you, please mark it as accepted.
Regards,
Tushar Sharma
https://newstechnologystuff.com/
But I am new to the development, my query is ,at what part of vf page code, i should place this.Hope my main requirement is clear, i will go again anyway,
When i click on any of the row in classic, it will redirect to the 'Record page' of the contact.
I should get the same functionality in lightning.I dont know where should i keep this.And everytime, vf page gets called, creates component?