Interaction Pop up window Source

krishnagopal_sn
Tera Contributor

When a tab is active in an IMS and you attempt to close it by clicking the close button, a pop-up appears. I'm trying to understand how this pop-up is triggered. I've looked into the UI actions/Client scripts but couldn't locate where this pop-up originates.

krishnagopal_sn_0-1707986895086.png

 

5 REPLIES 5

bradleydebono
Mega Guru

Good day,

 

I believe that is controlled in the "Close" UI Action on the [interaction] table. If you scroll down the UI Action form, you'll see the workspace configuration with the code triggering the confirmation message. I've attached a screenshot.

If this was useful, please mark it as helpful. If it solved your query, please mark it as the solution. It really helps me.

Martin iTSM
Tera Guru

Hey there,

you can see this if you open up the workspace (CSM/FSM) in UI Builder and open the "Interaction Record Page" a bit down the list.

MartiniTSM_1-1707993822025.png


Once you open that, there are 2 custom components for the dialogs and custom 1 should be the one you`re looking for. This dialog component is then bound/triggered via a Client Script (bottom section) "bindTabClosingModal" so it gets executed on click of the tab closure "x". However; to change anything i think you would need to create a new variant - from there i can`t help a lot since i didn`t use this yet. But maybe someone else can in case you get stuck again.

Client Scripts can be found here:

MartiniTSM_2-1707993978849.png


MartiniTSM_0-1707993470721.png

 

Hope this helps.

Cheers!

Martin

Hi Martin,

I appreciate your detailed solution, but in my scenario, I am opening the Interaction from the HR agent workspace, and I can't seem to locate this page.

krishnagopal_sn
Tera Contributor

Hi Martin,

I appreciate your detailed solution, but in my scenario, I am opening the Interaction from the HR agent workspace, and I can't seem to locate this page.