" /> How can I use getAnnex() to get option key-value I configured in CME? (GAD) - Genesys CTI User Forum

Author Topic: How can I use getAnnex() to get option key-value I configured in CME? (GAD)  (Read 1882 times)

Offline kevinwang

  • Full Member
  • ***
  • Posts: 159
  • Karma: 0
Advertisement
I am doing GAD customization. I defined some business attribute in cme, for example, I created some items under dispostion code, under Annex of these items, I defined a section, under this section, I defined some options.
, then I want to get these option key-value in GAD customization.

I've already got the object of EnumValue(every single item is a object of EnumValue),then i can have a map returned by using getAnnex() , but I am stuck at geting the option key-value.

does anyone have some experience about this?




Kevin

Offline kevinwang

  • Full Member
  • ***
  • Posts: 159
  • Karma: 0
System.out.println(dispostionCode.getAnnex().values().toString());
System.out.println(dispostionCode.getAnnex().keySet().toString());

I tried to output getAnnex(), and got the returned output as below. ItemInfo, aaa are two section under Annex, dispostionCode is an instance of EnumValue.

[<OrderedMap> ,<OrderedMap>]
[ItemInfo, aaa]

but what I need is the option key-value under these sections.


Kevin.