Genesys CTI User Forum
Genesys CTI User Forum => Genesys-related Development => Topic started by: rcalleja on April 17, 2018, 11:01:40 PM
-
I am using a C sharp project in Visual Studio 2017. What SDK function or class can I use to get info from the annex tab of the object.
-
Platform SDK for .Net
-
Use the Platform SDK for .Net.
To simplify things I would recommend that you use the COM Application Block, there is a sample provided with the PSDK that shows you how to use the COM Application Block and the code you need to get the Annex of a Person is below:
[code]
CfgPersonQuery q = new CfgPersonQuery();
q.UserName = "Monique";
CfgPerson person = confService.RetrieveObject<CfgPerson>(q);
if (person != null)
{
KeyValueCollection annex = person.UserProperties;
}
[/code]
-
Thanks