" /> How to find object path in Configserver Database - Genesys CTI User Forum

Author Topic: How to find object path in Configserver Database  (Read 1585 times)

Offline Zacharie

  • Newbie
  • *
  • Posts: 9
  • Karma: 0
How to find object path in Configserver Database
« on: June 14, 2018, 01:57:45 PM »
Advertisement
Hi,

Like Configuration manager, when you look for an object I would like to know if we can find object path with an SQL query?

Regards

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2755
  • Karma: 44
Re: How to find object path in Configserver Database
« Reply #1 on: June 14, 2018, 02:45:23 PM »
Of course you can find all information and object within CFG database. Try to check this threat where some useful queries are mentioned - http://www.sggu.com/smf/index.php/topic,9136.msg41059.html#msg41059

Offline victor

  • Administrator
  • Hero Member
  • *****
  • Posts: 1419
  • Karma: 18
Re: How to find object path in Configserver Database
« Reply #2 on: June 20, 2018, 09:03:20 PM »
What Kubig said but there are quite a few posts detailing this:

SELECT
  CFG_PERSON.USER_NAME,
  CFG_PERSON.EMPLOYEE_ID,
  CFG_AGENT_LOGIN.LOGIN_CODE
FROM CFG_PERSON
INNER JOIN CFG_LOGIN_INFO
ON CFG_PERSON.DBID = CFG_LOGIN_INFO.PERSON_DBID
INNER JOIN CFG_AGENT_LOGIN
ON CFG_LOGIN_INFO.AGENT_LOGIN_DBID = CFG_AGENT_LOGIN.DBID
ORDER BY CFG_PERSON.EMLOYEE_ID

is a good start. Just look at DB schema - it is pretty straight-forward.