Author Topic: GAD Pass Data to Existing Window  (Read 1752 times)

Offline PhoneBill

  • Newbie
  • *
  • Posts: 15
  • Karma: 1
  • It's a swingline
GAD Pass Data to Existing Window
« on: August 26, 2014, 10:07:27 PM »
I've searched all over and have been unable to find anything so I'm breaking down and asking for help.

I'm trying to pass data from GAD to an [i]existing[/i] browser window.  I am able to open a new window each time a call arrives but I want to use the same window and not have to worry about multiple windows or passing security tokens or session IDs each time. 


Offline PhoneBill

  • Newbie
  • *
  • Posts: 15
  • Karma: 1
  • It's a swingline
Re: GAD Pass Data to Existing Window
« Reply #1 on: August 28, 2014, 07:01:06 PM »
Okay, turns out it wasn't nearly as difficult as I assumed. 

It's a simple window.open method with the second parameter (name) defined.  As long as the same name is referenced, and it's already open, it will be used again.  If it's not open, it will be opened.

[font=courier]window.open("www.mycrmurl.duh", "myGADPop");[/font]