Genesys CTI User Forum
Genesys CTI User Forum => Genesys-related Development => Topic started by: QuentinA on December 14, 2017, 10:23:05 AM
-
I come to you because I am facing a problem, a customer (call center) would like to be able to change qualification sheet in case of error of the caller. For this, I have to dynamically activate my views according to the choice of the user via a listbox, despite I do not know how to do. Of course, these views are conditioned according to a data received by the routing, but after receiving the information and the display of the view, I do not understand how to change the active view. The views are well recorded via this.aContainer.RegisterType<IFormulaireViewModel, FormulaireViewModel>();...
Could you enlighten me on the subject or at least let me know if it is possible?
-
Hi,
i work on and i find a method :
viewManager.InstantiateDynamicViewInRegion
It works good but if I change the view and i want to return on last view, a exception was return :
{"View with name 'VALUE' already exists in the region."} System.InvalidOperationException
-
[quote author=QuentinA link=topic=10801.msg49123#msg49123 date=1513604634]
Hi,
i work on and i find a method :
viewManager.InstantiateDynamicViewInRegion
It works good but if I change the view and i want to return on last view, a exception was return :
{"View with name 'VALUE' already exists in the region."}System.InvalidOperationException
[/quote]
If you instantiate view, the object is created and you cant instantiate it again akaik.
It is better idea to create view once an show/hide controls inside of view based on selected combo value
Odoslané z D5803 pomocou Tapatalku