function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
DayeneDayene 

How to close child tab Aura component

Hi there,

I have an Aura component that is a chat. When the chat is started a case is created and the transcript and the new case are open.

When the chat is closed, we use closeTab() and then openTab() to open the case again.

But that way we lose the info already filled into the case.

I would like to close just the chat tab. But it seems that one is the "father" so I cannot close it without closing the case as well.

Is there a way to just close the chat tab?

 

User-added imageWhen I try to close chat tab, case tab is also closedWhen I try to close chat tad, case tab is also closed.

PriyaPriya (Salesforce Developers) 

Hey,

Kindly check this link for the similar case :
https://developer.salesforce.com/forums/?id=9062I000000DJ9fQAG

If it help, kindly mark it as the best answer.

Regards,

Priya Ranjan