Genesys CTI User Forum

Genesys CTI User Forum => Genesys-related Development => Topic started by: shahzeb on March 21, 2015, 09:40:55 PM

Title: IWS- Case Window should take focus on Event establish
Post by: shahzeb on March 21, 2015, 09:40:55 PM
Hello,

I am trying to develop a customization where the "Case window" should take focus (highlight itself) on eventEstablished, do anyone knows if that is possible ?

The main requirement is that when an agent starts a two step transfer, and when the consulted agent answers the call, the Case Window on Agent 1 (the agent who is starting the consulting call) should take focus.

But to my believe it should be enough if i have code which would make the "Case window" take focus (highlight itself) on eventEstablished.

Any code sample will be great
Title: Re: IWS- Case Window should take focus on Event establish
Post by: abudwill on March 23, 2015, 06:38:54 PM
Hi shahzeb,

It would be helpful if you referred to the views by their proper names so we know which view you are trying to get to take focus.  See Genesys documentation at http://docs.genesys.com/Documentation/IW/8.1.4/Developer/ReferenceforWindows for a list of the views.  If you navigate the documentation site, you will even be able to see graphical representations of the views and their names - this is very valuable.

This being said, I imagine you can use the IInteractionManager interface and subscribe to events InteractionCreated or InteractionEvent.  You will have to do some debugging and examine the events that come in on a transfer.  Once you identify some information you can trigger your desired behavior (the interaction window taking focus), you should be able to accomplish this.

Regards,
Andrew