" /> How to add KV-List to interaction? - Genesys CTI User Forum

Author Topic: How to add KV-List to interaction?  (Read 4312 times)

Offline Overrider

  • Newbie
  • *
  • Posts: 26
  • Karma: 0
How to add KV-List to interaction?
« on: November 10, 2010, 11:28:39 AM »
Advertisement
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? ???

Offline René

  • Administrator
  • Hero Member
  • *****
  • Posts: 1832
  • Karma: 62
Re: How to add KV-List to interaction?
« Reply #1 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.

Offline Overrider

  • Newbie
  • *
  • Posts: 26
  • Karma: 0
Re: How to add KV-List to interaction?
« Reply #2 on: November 10, 2010, 01:21:36 PM »
Thanks! It's worked just fine.

Offline nonny

  • Full Member
  • ***
  • Posts: 218
  • Karma: 2
Re: How to add KV-List to interaction?
« Reply #3 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?

Offline terry

  • Sr. Member
  • ****
  • Posts: 328
  • Karma: 35
Re: How to add KV-List to interaction?
« Reply #4 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.

Offline nonny

  • Full Member
  • ***
  • Posts: 218
  • Karma: 2
Re: How to add KV-List to interaction?
« Reply #5 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