Genesys CTI User Forum > Genesys-related Development

Handling button events "Done" window interaction

<< < (2/3) > >>

GnomE:
[b]abudwill[/b] yes I've read and seen how to register how commands and create your class. the question was what kind of command I use. You helped me by saying that it is possible in the logs to see what command worked out and I was able to intercept telephone interaction command completion
[code]commandManager.InsertCommandToChainOfCommandBefore("InteractionVoiceBeforeClose", "Close",
                new List<CommandActivator>() { new CommandActivator() { CommandType = typeof(OnInteractionDone), Name = "OnInteractionDone" } });[/code]
I chose the right team? to complete the email and chat need to use separate commands, or I can done use one command?

Hopefully correctly written and you will understand me. and thank you very much!  ;)

Kubig:
All is described within the dev docs - for each media type there is set of command related to that channel.

GnomE:
Yes, thank you, thanks to the fact that possible view in the logs to execute commands, I was able to find the necessary, just thought have one common.
I was able to intercept the event of the button, but can not operate on a form. tell me how can I be? models are initialized empty can only get a singleton model, and to operate a class of my control (form) I can not.  ???

GnomE:
Friend, prompt please!
as soon I try to add something to my "IElementOfCommand" class in addition it stops working. Whether it's a different interface or keyword "partial". How do I make sure that I was able to work with the form and initialize models.  :-\

Kubig:
Just one recommendation  - visit the Genesys training for developers and learn more about WPF and MVVM pattern.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version