[SalesForce] Open a Subtab in Console For Lightning Web Component

I know that there is workspaceAPI for aura development but I can't find anything in the web for lightning web component. Is there a way I can do this with LWC?

Best Answer

From the documentation lwc does not currently support the lightning console .

Workaround is to use aura components and if you have an lwc , wrap inside the aura components. This way you can bubble up an event and let the aura wrapper open the subtab.

Related Topic