Author Topic: GAD custom tabs - keep information while changing tabs  (Read 5045 times)

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7639
  • Karma: 56330
GAD custom tabs - keep information while changing tabs
« 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!

Offline René

  • Administrator
  • Hero Member
  • *****
  • Posts: 1832
  • Karma: 62
Re: GAD custom tabs - keep information while changing tabs
« Reply #1 on: September 08, 2010, 08:20:23 AM »
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.

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7639
  • Karma: 56330
Re: GAD custom tabs - keep information while changing tabs
« Reply #2 on: September 09, 2010, 04:14:15 AM »
Hum...have tried to find more information but couldn't find nothing...nothing on Devzone, nothing on support site...help please...

Offline René

  • Administrator
  • Hero Member
  • *****
  • Posts: 1832
  • Karma: 62
Re: GAD custom tabs - keep information while changing tabs
« Reply #3 on: September 09, 2010, 07:29:54 AM »
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.

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7639
  • Karma: 56330
Re: GAD custom tabs - keep information while changing tabs
« Reply #4 on: September 09, 2010, 01:59:21 PM »
Ok will check it :)
Thanks!

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7639
  • Karma: 56330
Re: GAD custom tabs - keep information while changing tabs
« Reply #5 on: September 09, 2010, 04:23:28 PM »
Nop, couldn't find any sample with such options....

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7639
  • Karma: 56330
Re: GAD custom tabs - keep information while changing tabs
« Reply #6 on: September 24, 2010, 10:08:18 PM »
Hey René,
Were you able to find your code? I have been trying but no luck at all :(

Offline René

  • Administrator
  • Hero Member
  • *****
  • Posts: 1832
  • Karma: 62
Re: GAD custom tabs - keep information while changing tabs
« Reply #7 on: September 26, 2010, 11:54:22 AM »
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.