" /> Get current Place - Genesys CTI User Forum

Author Topic: Get current Place  (Read 1212 times)

Offline MatSzafraniec

  • Newbie
  • *
  • Posts: 10
  • Karma: 1
Get current Place
« on: November 22, 2018, 01:06:34 PM »
Advertisement
Hi,

could you introduce me how can I read current CfgPlace, where user is log on?

In my case, I want to read current CfgApplication and CfgPlace. First one it's quite simple:

[code]
string wdeApp = configService.RetrieveObject<CfgApplication>(new CfgApplicationQuery() { Name = configService.ApplicationName }).Name;
[/code]

But cannot find any way how to use above example (of course with CfgPlace and CfgPlaceQuery) to read current CfgPlace. Or is there other way?

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: Get current Place
« Reply #1 on: November 22, 2018, 03:27:48 PM »
That is not a job for CfgServer but for TServer instead. You do a query on the agent state and returns such info. This has been discussed previously. Search the forum