Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: BenTaylor on March 21, 2012, 05:12:33 PM

Title: FindConfigObject?
Post by: BenTaylor on March 21, 2012, 05:12:33 PM
Can someone explain how to use this function in IRD 8.1.1 please?

FindConfigObject[Type,'Properties']

I can't seem to make it find anything...
Title: Re: FindConfigObject?
Post by: kubikle on March 23, 2012, 05:27:41 AM
Type is type of obejct: DN, place, application, etc. Presented by number. IRD has named constants for them CFGDN, CFGPlace, etc. Can use them or number directly. In any case switch - 1, DN - 2, Person - 3, Place - 4, Application 9. transaction - 16.

Properties is set of object properies of object to be found. Should identify object in unique way. It is string in format
key:value|key:value.  set of keys in general depends form object type although there are universal keys like dbid.
keys for switches dbid or name, for DN: dbid or name or combination switch and number, the same for plcaes, for applications dbid or name, for persons: dbid or employeeid.

Samples:
FindConfigObject[CFGDN, ‘name:MyRP’] or
FindConfigObject[CFGDN, ‘number:2201|switch:my_switch’]

or

FindConfigObject[CFGPlace, ‘name:Place2201’] or
FindConfigObject[CFGPlace, ‘number:101|switch:my_switch’]

or

FindConfigObject[9, ‘dbid:123’]

Title: Re: FindConfigObject?
Post by: BenTaylor on March 26, 2012, 10:03:25 AM
Thanks :)

Works great with CFGDN or CfgPlace, but doesn't like the numbers.
Title: Re: FindConfigObject?
Post by: kubikle on March 28, 2012, 04:36:58 AM
I tried numbers and they worked too in my case (if you enter them "manually", IRD not propose them in drop down liist)
Title: Re: FindConfigObject?
Post by: BenTaylor on March 28, 2012, 08:34:28 AM
I should probably clarify and say that it doesn't like the numbers that I want to use ;)

1, 2, 3, 4, 9 and 16 are fine, but I'd like to use 19 for Statistical Table :)
Title: Re: FindConfigObject?
Post by: René on March 28, 2012, 09:21:13 AM
Hi Ben,

Only CFGDN and CFGPlace are officially supported so be careful using other object types.

BTW Have you made it working for other objects then DN and Place?

R.
Title: Re: FindConfigObject?
Post by: terry on March 28, 2012, 07:16:46 PM
supported types in 8.1.2 (officially and/or not officially):
switch, dn, place, person, tenant, application, transaction, enumerator, enumerator value.
Title: Re: FindConfigObject?
Post by: René on March 30, 2012, 09:35:18 AM
Terry,

I tried using FindConfigObject for person object and it didn't work. Does it work for you...?

R.
Title: Re: FindConfigObject?
Post by: terry on March 30, 2012, 08:05:58 PM
What was search string you used? I mean they might be different for different types of objects.
URS can access agents by two ways only: dbid or employeeid.
Something like that: FindConfigObject[3, 'employeeid:UN_104_vit_sw2'] works in my case:

    _I_I_006b0205d4a42018 [09:04] ASSIGN: event(LOCAL) <- STRING:
"dbid:679|employeeid:UN_104_vit_sw2|username:UN_104_vit_sw2|tenantdbid:103|tenant:Vit|skills.French:4|skills.Test:11"
Title: Re: FindConfigObject?
Post by: JeffreyT on July 27, 2020, 06:22:25 PM
It seems that when trying to query for application objects it's not accessing the [Options] part while accessing the [Annex] part... could someone comment ?
Title: Re: FindConfigObject?
Post by: terry on July 31, 2020, 06:31:30 PM
If application options are needed the GetObjectProperty[CFGApplication, 0, AppName, section, option].
As option * can be used to get all options within provided section.