Genesys CTI User Forum > Genesys-related Development

IWS - Read custom field and update attach data

<< < (2/2)

Kubig:
I have achieved it through commands. I have added before command (VoiceMakeCall) own logic. Within this logic the values from combobox are used (value reffering via interface) and if the validation is ok, the call is dialed.

From my point of view, the hint about using static dictionary is not good way.

luca.assandro:
Thank guys
I created a static class to check the combobox values, then in chain of command "ShowInteractionsWindow" that value is saved by "SetAttachData" methond of Interaction interface.

Thanks
Bye
Luca

abudwill:
Kubig,

Agree that static dictionary is not a best practice.

From time to time I have run into problems getting references to things from within my custom command code.  Out of curiosity, how do you end up getting values from your WPF controls (ComboBox in this case) from your custom command code?

Regards,
Andrew

Navigation

[0] Message Index

[*] Previous page

Go to full version