Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: Overrider on November 10, 2010, 11:28:39 AM

Title: How to add KV-List to interaction?
Post by: Overrider on November 10, 2010, 11:28:39 AM
In T-Server for Cisco there is functionality "User-Data Display to IP Phones".
[quote]A call with the following KV-data in user-data displays that data on all phones
engaged in the phone call:
KEY: IP_PHONE_DISPLAY
TYPE: KV-List
VALUE: KV-list with the following three fields:
1. KEY: TITLE
TYPE: STRING
VALUE: Any string, up to 24 characters. This is displayed at the top of the
phone screen.
2. KEY: TEXT
TYPE: STRING
VALUE: Any string of fewer than 1024 characters. This is displayed in the
center of the phone screen.
3. KEY: PROMPT
TYPE: STRING
VALUE: Any string, up to 28 characters. This is displayed at the bottom of
the phone screen.[/quote]I want to play with it, but i totally don't understand how to add KV-List which consists of KV-Pairs in strategies. The only possibility of adding data, that I see in IRD's instruments is attach data, which is attach KV-Pairs not KV-List. Am I missing something? ???
Title: Re: How to add KV-List to interaction?
Post by: René on November 10, 2010, 12:27:17 PM
Hi,

Attach/Update functions in IRD support KV-Lists but this functionality is a bit hidden. You must use following syntax: Attach['<list name>.<key name>','<key value>'] e.g. Attach['IP_PHONE_DISPLAY.TITLE','....'], Attach['IP_PHONE_DISPLAY.TEXT','...'].

R.
Title: Re: How to add KV-List to interaction?
Post by: Overrider on November 10, 2010, 01:21:36 PM
Thanks! It's worked just fine.
Title: Re: How to add KV-List to interaction?
Post by: nonny on September 14, 2015, 10:44:39 PM
This is an old thread but hopefully someone sees this.

I've tried using the above noted syntax but IRD is having problems validating this saying the comma to separate the Attach statements is bad.  Any thoughts?
Title: Re: How to add KV-List to interaction?
Post by: terry on September 15, 2015, 12:24:36 AM
Don't use few functions in the same line (and if using don't separate them with comma).

And better just use MultiAttach object.
Title: Re: How to add KV-List to interaction?
Post by: nonny on September 15, 2015, 09:10:15 AM
Tried the multi attach option but the functionality didn't work.  Will try again and go through the TServer log.

Sent from my SM-N9005 using Tapatalk