Connection from CCPulse to a external D.B using Java Script

Hello

I need to connect from CCPulse whith an other data base, access or my sql for extract information and meke new formulas using the two information

Thank You

La conexiĂłn la consigo con

wscript = new ActiveXObject(“wscript.shell”)
path = wscript.CurrentDirectory
mdb = path + “\PruebaJava.mdb”
conn = new ActiveXObject(“adodb.connection”)
connString = “Provider=Microsoft.Jet.OLEDB.4.0;Data Source=”+ mdb +“;User Id=admin;Password=”
conn.open(connString);
Select * from Clientes;

Ahora para hacer consultas o insertar datos?

wscript = new ActiveXObject(“wscript.shell”)
path = wscript.CurrentDirectory
mdb = path + “\PruebaJava.mdb”
conn = new ActiveXObject(“adodb.connection”)
connString = “Provider=Microsoft.Jet.OLEDB.4.0;Data Source=”+ mdb +“;User Id=admin;Password=”
conn.open(connString);
(“SELECT Nombre FROM Clientes”);

But when I´m going to create a new view a box said me that the sql snetence was removed

I need to show in CCPulse the actual agents logued in and the agent should be logued this are in my data base

Thank you

2 Likes

? And why not use StatServer tables instead?

1 Like

I need show in CCPulse the number of agent logged in and show our planification. Then I will create a thresold if aggent loged < agent planificated.

Thank you

1 Like