+ Start a Discussion
AD1418AD1418 

How to call vf page inside lwc?

Hi Folks,

Can we call a vf page inside lwc? Can someone please assist me here. Thanks in advance.
AbhishekAbhishek (Salesforce Developers) 
Hi,

Adding a Lightning web component to a Visualforce page is a three-step process.

1. Add the Lightning Web Components for Visualforce JavaScript library to your Visualforce page using the <apex:includeLightning/> component.

2. Create and reference a standalone Aura app that declares your component dependencies.

3.Write a JavaScript function that creates the component on the page using $Lightning.createComponent().

Use the <namespace:camelCaseComponentName> naming convention to reference a Lightning web component in a Visualforce page.

For your reference,

https://releasenotes.docs.salesforce.com/en-us/summer19/release-notes/rn_lwc_vf.htm

I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.

Thanks.
AD1418AD1418
Hi Abhishek,

Thanks for response. I am aware of this, my requirement is vice versa i.e calling a vf page inside lwc. Need some assistance here.
AbhishekAbhishek (Salesforce Developers) 
Thanks for the clarification but I suspect it is not possible.

Up to now, I have seen add Lighting Web Component in the Visual force Page.
Tom Chris 3Tom Chris 3
Slot Games Teacher (https://slotgamesteacher.com/)

Roulette Tables Casino (https://roulettetablescasino.com/)

Bingo Blitz Online (https://bingoblitzonline.com/)

Monopoly Casino Online (https://monopolycasinoonline.com/)

Pin up Casino Games (https://pinupcasinogames.com/)

Bingo Games Guru (https://bingogamesguru.com/)

Roulette Wheel Guru (https://roulettewheelguru.com/)

Bingo Wheel Spinner (https://bingowheelspinner.com/)

Wildz Casino Games (https://wildzcasinogames.com/)

Royal Casinoz (https://royalcasinoz.com/)
 
tomy jamestomy james

https://draftkingsgambling.com/
https://financeguruonline.com/
https://channelsofmarketing.com/    
https://conservatoryfurnitures.com/
https://eazytechonline.com/
 
tomy jamestomy james
<a href="https://draftkingsgambling.com/">https://draftkingsgambling.com/</a>
<a href="https://financeguruonline.com/">https://financeguruonline.com/</a>
<a href="https://channelsofmarketing.com/">https://channelsofmarketing.com/</a>
<a href="https://conservatoryfurnitures.com/">https://conservatoryfurnitures.com/</a>
<a href="https://eazytechonline.com/">https://eazytechonline.com/</a>
 
luca tomyluca tomy
https://aroofdesign.com/   (https://aroofdesign.com/  
https://hardwoodfloormop.com/   (https://hardwoodfloormop.com/  
https://floordesigntiles.com/     (https://floordesigntiles.com/    )
https://doublebeddecor.com/     (https://doublebeddecor.com/    )
https://paintforfurniture.com/     (https://paintforfurniture.com/    )
https://businesslineinfo.com/     (https://businesslineinfo.com/    )
https://businesspromoideas.com/   (https://businesspromoideas.com/  )  
https://valueofbusinesses.com/   (https://valueofbusinesses.com/  
https://simplestartupideas.com/   (https://simplestartupideas.com/  )  
https://idealstartupplans.com/   (https://idealstartupplans.com/  
tomy jamestomy james
campaignmarketingonline (https://campaignmarketingonline.com)
conceptofmarketing (https://conceptofmarketing.com)
knownbusinessfacts (https://knownbusinessfacts.com)
proaccountingpractice (https://proaccountingpractice.com)
businesstaxsolution (https://businesstaxsolution.com)
livewithoutinternet (https://livewithoutinternet.com)
classictechworld (https://classictechworld.com)
onlineworldupdates (https://onlineworldupdates.com)
techworldnewsonline (https://techworldnewsonline.com)
yourtechassistant (https://yourtechassistant.com)
Teresa EchevarriaTeresa Echevarria
We are importing NavigationMixin from lightning/navigation.
We are providing a config object to this
The config object is going to have information about the destination. The key is providing edit for the key actionName.
DG Paystub (https://www.dg-paystub.com/)