" /> GAD newbie Database Query / Stored Procedure - Genesys CTI User Forum

Author Topic: GAD newbie Database Query / Stored Procedure  (Read 3126 times)

Offline rogierbosch

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
GAD newbie Database Query / Stored Procedure
« on: July 18, 2012, 07:20:03 AM »
Advertisement
Hi you all,

I need a kickstart on GAD 7.6

I want to add an function to GAD that will write some data from 'attached data' to a SQL database. This function must be started as soon as call is connected to agent (pick-up).

Can anybody give me a start what to do, read, write..

Rogier

Offline Timur Karimov

  • Sr. Member
  • ****
  • Posts: 415
  • Karma: 2
Re: GAD newbie Database Query / Stored Procedure
« Reply #1 on: July 18, 2012, 03:04:57 PM »
Hi Rogier,
did you have Genesys Desktop 7.6 Developer’s Guide ?

WBR

Offline rogierbosch

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
Re: GAD newbie Database Query / Stored Procedure
« Reply #2 on: July 18, 2012, 04:14:34 PM »
Offcource!

Give me the page # where I can find how to create SQL connection and you are my hero. In all things i have read no line is written about (MS) SQL.

No samples via ALU/Genesys that contains third party DB connections...

.....

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: GAD newbie Database Query / Stored Procedure
« Reply #3 on: July 18, 2012, 04:44:48 PM »
;D Funny guy...lol made me laugh....gimme the page....
If you want to add a new functionality I doubt that Genesys or Alcatel imagined all possible ideas on the world and made a sample...
They better provided what you can control samples so you do whatever you want...it is their Hello World.
So now you have to read the guide and just add the Java code to connect and do something to an external DB. As you may already know that has nothing to do with GAD. What is on GAD side is WHEN you want to trigger this script and capture the KvP and assign them to Java variables.
Regards

Offline Timur Karimov

  • Sr. Member
  • ****
  • Posts: 415
  • Karma: 2
Re: GAD newbie Database Query / Stored Procedure
« Reply #4 on: July 18, 2012, 05:50:52 PM »
Rogier,
Genesys does not sell the BIG RED BUTTON with name on it -  "MAKE ALL HAPPY" =)

In dev.guide you can found example how you can call custom code trigered by AIL events. And , as Cav said it's  early, in you custom code you can do everything what you can do with java.

WBR Tim

Offline rogierbosch

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
Re: GAD newbie Database Query / Stored Procedure
« Reply #5 on: July 18, 2012, 06:01:36 PM »
aaaaaahhhhhhh now i am getting it.... As mentioned, i needed a kickstart and i think i have it now :)

Offline rogierbosch

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
Re: GAD newbie Database Query / Stored Procedure
« Reply #6 on: July 18, 2012, 06:08:33 PM »
If I understand correctly: I can do anything I want within JAVA limits in combination with the events within GAD?

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: GAD newbie Database Query / Stored Procedure
« Reply #7 on: July 18, 2012, 08:53:28 PM »
Yep, you got it.
Now about "anything" word can be very wide on meaning...try and test understanding the limits (like browser stuff) you have. It is not the same to develop in Java for a PC without the IE on the middle for example

Offline René

  • Administrator
  • Hero Member
  • *****
  • Posts: 1832
  • Karma: 62
Re: GAD newbie Database Query / Stored Procedure
« Reply #8 on: July 19, 2012, 08:35:32 AM »
Hi Rogier,

Following threads should help you:
[url=http://www.sggu.com/smf/index.php/topic,6541.msg28484.html#msg28484]http://www.sggu.com/smf/index.php/topic,6541.msg28484.html#msg28484[/url]
[url=http://www.sggu.com/smf/index.php/topic,6810.msg29638.html#msg29638]http://www.sggu.com/smf/index.php/topic,6810.msg29638.html#msg29638[/url]

R.