05-20-2016 06:39 AM
Hi all,
I'm new in Java Script development. I just integrate the screenpop gadget in a new tab and everything is working. I just want to switch on tjhis tab when a event ringing occurs (ie when the agent is in reserved state). I suppose it's not to difficult to implement this feature but how to do this ?
Thanks in advance
Olivier
Solved! Go to Solution.
05-20-2016 11:46 AM
Hi Olivier,
You can use the activateMyTab method from the Finesse JavaScript Library (containerServices.activateMyTab();). When trying it out, I did noticed that the workflow screen pop sample has a typo that is throwing an error.
In the _handleWorkflowActionEvent function, _activatetab(j); needs to be _activateTab(j); (with a capital T).
Since you want to do this when the agent is in reserved state, you need to instantiate the user and add the activateMyTab in the onChange handler when the state is RESERVED. Take a look at the Learning Sample Gadget on how to instantiate the user and have the right handler.
Thanx,
Denise
05-20-2016 11:46 AM
Hi Olivier,
You can use the activateMyTab method from the Finesse JavaScript Library (containerServices.activateMyTab();). When trying it out, I did noticed that the workflow screen pop sample has a typo that is throwing an error.
In the _handleWorkflowActionEvent function, _activatetab(j); needs to be _activateTab(j); (with a capital T).
Since you want to do this when the agent is in reserved state, you need to instantiate the user and add the activateMyTab in the onChange handler when the state is RESERVED. Take a look at the Learning Sample Gadget on how to instantiate the user and have the right handler.
Thanx,
Denise
04-19-2019 03:45 AM
I have a similar problem and I have used the solution. The difference is that I am calling the tab section from a callback function triggered from a toaster pop up. The toaster works and the function is called when I click on the toaster window but the tab selection does not work in Chrome. It does however work in Firefox. Unfortunately my customer need it to work in Chrome. I looked at the call control source and it has a comment to say this was a recognised problem in Chrome. Their workaround was to add window.focus() to the called function before calling the tab selection. However this doesn't work for me. Any ideas?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide