Genesys CTI User Forum
Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: pspenning on March 19, 2013, 08:07:49 PM
-
Hello Everyone,
I am looking to write a strategy that will write values to a Transaction List based on a callers response. I know I can do this through a Database but was thinking that a TL would be much easier. I am about to start reading Genesys Docs to see if I can find a way to do this but wanted to post a quick question in case someone could offer advice.
Thank You - Perry
-
Something like that (if more or less recent version of URS like 8.1.1):
SetObjectProperty[CFGTransaction, 21,NameOfListObjectHere,NameofListItemHere, key ,value]
Or if more than one property to be changed
SetObjectProperty[CFGTransaction, 21,NameOfListObjectHere,NameofListItemHere, key1, value1, key2, value2, ….]
21 is Transaction object type List.
URS application must run under account allowing writing into config data base.
-
Thank you so much!
I wasn't thinking of it that broadly. I guess I had my blinders on. That will most certainly do the trick....
I will give it a shot and I really appreciate the help.
Thanks,
Perry
-
Hi Terry,
I got everything done and upon testing I got this in the URS Logs:
[quote]CONT: config server error 9 - object CfgTransaction(16), property DBID(34) : Permission error. Your access privileges are insufficient for performing the requested transaction.[/quote]
I was hoping that URS would have write privileges but I guess I just can't be that lucky.
When you were referring to the write permissions, were you referring to the user that URS runs as or the user listed in the DAP that URS connects to? The DAP also connects to the Config DB and is the same DAP that we use for IRD so I know it can write....
Thanks again for the input.
Perry
-
OK... I see what the problem was. I went to the Security Tab of the Transaction List and noticed that SYSTEM had read permissions. I changed this to Full Control and all is working as it should.
I really appreciate you helping me solve this "Quest" ;D
Thanks
Perry
-
Is it an undocumented function or I misunderstood something?
Looking for in IRD (version is the latest), support site solutions, but nothing found.
-
Basically - yes.
Few functions (incuding SetObjectProperty, Bytes) - currently they are "on half way" to be documented (as they already used in field).
In any case you can see each and every function available in IRD (and in matched or newer versions of URS) in compiler.dat file (always present in IRD installation) which provides in human readable form declaration and description of all functions and constants.
-
thanks for the answer
-
Hey Terry,
Nice information :)
--
Gaurav Gupta
-
Oh my gosh!!! This is exactly what I was looking for the other day. SetObjectProperty made perfect sense, but I could never really get it to work! Terry - thank you!
-
Thanks Terry, I've been looking for a way to do this for a very long time!
I have absolutely no practical use for it right now, but at least now I know it's possible. :D