Hi I need some assistance for one of the scenario, i am trying to open a LWC from another LWC in which target LWC is Wrapped inside the aura component. the problem is that whenever user clicks new tab gets opened, is there any way if the tab is already open the user should navigate to the same tab. below is my code :

clickOnNext(evt) {
            type: 'standard__component',
            attributes: {
                componentName: 'c_ABCComponent'
            state: {
                c__ITC: this.ITCRe,
<aura:component implements='flexipage:availableForAllPageTypes,lightning:isUrlAddressable access:global'>
    <lightning:workspaceAPI aura:id='WAPI'/>
    <aura:handler name='init' value='{!this}' action='{!c.init}'/>
      <c:AsdComponent3 />

    init: function (component, event, helper) {
        let workspaceAPI = component.find('WAPI');
        workspaceAPI.getEnclosingTabId().then((response) => {
            let idOfOpne= response.tabId;
                tabId: idOfOpne,
                label: 'Loading This Tab'
  • is there is no solution for this issue??
    – jonshon
    Nov 11, 2020 at 13:14
  • @sfdcfox kindly help.
    – jonshon
    Nov 11, 2020 at 13:15

1 Answer 1


I think this is a limitation in the Target behavior in Lightning Console. All target behavior opens a new workspace tab and there isn't an option to open in the same workspace tab. I think this would be good to submit an idea to Salesforce if there isn't one already.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .