Genesys CTI User Forum > Genesys-related Development

IWS - Read custom field and update attach data

(1/2) > >>

luca.assandro:
Hi everybody
I'm starting with the first customization iws and I have a problem to continue .
I added a combobox in the region " ToolbarWorksheetButtonRegion " with some reasons for outbound calls .
before you can make a call , the agent must choose a reason ; to do this, I change the ChainCommand " MediaVoiceMakeCall " entering my custom command " ControlloMotivazioni " .
in " ControlloMotivazioni " I have to check that the combobox is completed and assign that value to a attach data ... but I can not get the value from the combo box and I do not find a way to change the attach data .
can you help me please?

Thank you
Bye
Luca

cavagnaro:
And why not use own functions from IWS who already provide that??

abudwill:
The question isn't entirely clear to me.

I interpreted it as: "How can I create some sort of dependency that needs to be fulfilled before an agent can initiate an outbound dial", presumably during a preview or push preview interaction.

Cavagnaro, not sure I know how to do this without customization, are you aware of bits in IWS that can fulfill this without customization?

luca.assandro,

Assuming for a second there is not a way to do this native in IWS - you could bind the value of the ComboBox to some static class variable or dictionary.  Alternatively you can try to resolve the instance of your view model in your custom command.  Then from within your custom command you can refer to the value.  Additionally, look at the ICase interface in the IWS APIs.  There is a MainInteraction property which gives you a reference to the interaction.  Once you have a reference to the interaction you can use method SetAttachedData to add attached data to the interaction.

Regards,
Andrew

cavagnaro:
Well, Disposition Codes can but after the call, not before... Why before?
You create a business attributes and attach it's name via strategy and IWS options. Make it mandatory and will satisfy the need, I think so...

cavagnaro:
Before the call is no interaction to attach to, just saying

Navigation

[0] Message Index

[#] Next page

Go to full version