Genesys CTI User Forum
Genesys CTI User Forum => Genesys-related Development => Topic started by: cavagnaro on September 07, 2010, 10:50:48 PM
-
Hi guys,
I have always assumed this as this is how it works, but now wonder if there is any way to control this:
Scenario:
Agent has GAD with 3 custom tabs (google, internal app, internal app 2)
Agent receives a call and google launches a search based on the query sent to the GET parameters (q=whatever)
Agent changes to internal app 2, then returns to google but now google searchs again and if agent had already changed the page or clicked somewhere he loses the previous information before he switched the tab...the same for all the internal applications.
Is there any way to avoid this??
Thanks!
-
Hi Cav,
There is a way using setCustomContext and getCustomContext functions. You would need to implement these functions to cover your need. I used these in the past - let me know if you need more help.
R.
-
Hum...have tried to find more information but couldn't find nothing...nothing on Devzone, nothing on support site...help please...
-
Hi Cav,
There are some samples using get/setCustomContext methods described in Genesys Desktop 7.6 Developer's Guide. I will try some more examples...
R.
-
Ok will check it :)
Thanks!
-
Nop, couldn't find any sample with such options....
-
Hey René,
Were you able to find your code? I have been trying but no luck at all :(
-
Hi Cav,
I didn't find the code but I wrote a sample for you :) Check you email...
BTW I tried to implement the functionality you're after and got into troubles due browser security restrictions (cross-site scripting). Simply - browser won't allow you to read current URL of Google page running in iframe...
R.