I have a requirement to replace a primary tab in lightning console with another record. I have tried to implement it the way described in this link. When I call closeTab, I am always getting what looks like an internal error:
[PromiseRejection: Error: getTabInfo() - Failed to get tabInfo for tabId ctab0
]
t.$$lwcEventWrapper$$()@https://*--devsis.lightning.force.com/auraFW/javascript/uZhR234ENYM5YJpipvJEkg/aura_prod.js:2:14001**
Even if I comment out opening the tab, I get the same error, so the error seems to be an issue with closeTab. This is using Summer 19. Has anyone been able to successfully use this logic in Summer 19?
goToAcct
?