0

I'm opening a lightning component from a custom button in the Account page as per below code. And this code is executing in the Service console.

var evt = $A.get("e.force:navigateToComponent");
                evt.setParams({
                    componentDef : "c:NextGen_ProductSelection",
                    componentAttributes: {
                        paramId : accId,
                        sObject : 'Account',
                        soldToId : oppAccId,
                        isPartsOnly : true,
                        isQuickQuote: true
                    }
                });
                evt.fire();

But when I keep the same record in the tab and navigate to an another Account record in a different tab and try to open the same lighting component by clicking the custom button and it will replace the previous opened tabs as well. Is there any solution to avoid this issue?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.