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…
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…
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’]
Thanks ![]()
Works great with CFGDN or CfgPlace, but doesn’t like the numbers.
I tried numbers and they worked too in my case (if you enter them “manually”, IRD not propose them in drop down liist)
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 ![]()
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.
supported types in 8.1.2 (officially and/or not officially):
switch, dn, place, person, tenant, application, transaction, enumerator, enumerator value.
Terry,
I tried using FindConfigObject for person object and it didn’t work. Does it work for you…?
R.
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”
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 ?
If application options are needed the GetObjectProperty[CFGApplication, 0, AppName, section, option].
As option * can be used to get all options within provided section.