We were using standard lightning component force:workspaceAPI for opening new subtab in Service console. It was working fine till this morning.But now it showing below error:

No COMPONENT named workspaceAPI found

Please anyone guide us how to open subtab in Lightning service console. We tried also force:workspaceAPIAccess but no luck

<aura:component implements="flexipage:availableForAllPageTypes" access="global" >
    <force:workspaceAPI aura:id="workspace" />
    <lightning:button label="Open Tab" onclick="{! c.openTab }" />
    openTab : function(component, event, helper) {
        var workspace = component.find("workspace"); 
            url: '/sObject/001R0000003HgssIAC/view', 
            focus: true,  
            callback : function(error, response) { 
                workspace.focusTab({tabId : response});  
  • is this resolved, seems this doesn't work as in the docs – Hasantha May 14 '18 at 6:17

This seems to be fixed now. Please note that the component name changed from

<force:workspaceAPI aura:id="workspace" />


<lightning:workspaceAPI aura:id="workspace" />

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.