Interaction Pop up window Source
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2024 12:48 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2024 02:24 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2024 02:43 AM - edited 02-15-2024 02:46 AM
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.
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:
Hope this helps.
Cheers!
Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2024 04:35 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2024 03:30 AM
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.