How to close upper tab?

Community Alums
Not applicable

In this screenshot, there are two sets of tabs, upper and lower.  Is it possible to close the upper tab from within a UI action?  I can only figure out how to close the lower tab.

 

find_real_file.png

5 REPLIES 5

Vadzim Surin1
Tera Expert

Hi @sushant06251 ,
Your suggestion is very interesting. But unfortunately it doesn't work when the subtab is open.
Please look at my screen. I'm trying to close upper parent UR (by using your suggestion or by using ui action with a script that contains g_aw.closeRecord() method.
The behavior is the same in both cases. Tab is closed successfully if it is opened as single tab. When you open something in the related records as subtab, a parent tab will not be closed by using these solutions.

VadzimSurin1_0-1717144910642.png

I will appreciate if you have any ideas how to resolve this.