Genesys CTI User Forum > Genesys-related Development
How can I read agent and application configuration in WDE/IWS?
Gabi:
I am writing a WDE extension. I have been told that I can access the application and agent configuration via the config manager (container.Resolve<IConfigManager>), but the config manager's interface is far from friendly.
Could someone please show me an example of how to get the contents of a configuration section?
Thank you in advance.
Kubig:
IConfigManager cfgMgr = container.Resolve<IConfigManager>;
cfgMgr.GetValue("name of the option on WDE object");
Do not know what is not friendly on that..
Gabi:
I would like to get the contents of an arbitrary section. Does IConfigManager only return the options of the interaction-workspace section? And is there any way to get the agent's configuration?
abudwill:
There is probably an interface in the IWS API that allows you to get the agent information, but I am not familiar with it off the top of my head. Search through the included .chm help file for *Manager* and see if you come up with anything.
If all else fails you can use PSDK from your WDE extension, CfgPersonQuery is what you would want to look up in the PSDK documentation.
Gabi:
Perhaps there is a way to access the ConfServerProtocol?
Navigation
[0] Message Index
[#] Next page
Go to full version