You need to sign in to do that
Don't have an account?
Shubham Patil 74
Hi,
I have created an LWC component to create a new Quote. Created an Aura Application and called a component from the Visualforce page. I have created a List button and called the visualforce page.
The issue is when clicking on the list button lightning record edit form is showing but the Save & Cancel buttons are not working. If I use lwc alone it is working but within the VF page, it is not working.
Any idea what I missed here?
Issue on Save and cancel button, want to coommunicate lwc to vf
Hi,
I have created an LWC component to create a new Quote. Created an Aura Application and called a component from the Visualforce page. I have created a List button and called the visualforce page.
The issue is when clicking on the list button lightning record edit form is showing but the Save & Cancel buttons are not working. If I use lwc alone it is working but within the VF page, it is not working.
Any idea what I missed here?
Any error recorded on click of the button? Also please share your code snippet to trace out the problem.
This is the VF code where I called lwc component
<apex:page standardController="Account" recordSetVar="Accounts" extensions="LEX_ChangeOwnerContainer" lightningStylesheets="true"
standardstylesheets="false" showHeader="false">
<apex:includeLightning />
<div id="lightning"/>
<script>
var selRecords = '{!setAccIds}';
console.log(selRecords);
$Lightning.use("c:LEX_ChangeOwnerApplication", function () {
$Lightning.createComponent("c:changeOwnerLWC",
{
accSelIds: selRecords == '' ? [] : selRecords.split(',')
},
"lightning",
function (cmp) {
});
});
</script>
<div id="lightning" />
</apex:page>
let me know, if you need anything