Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: bala14492 on June 07, 2016, 10:51:07 AM

Title: how to set my custom side button region into top(first) position in WDE 8.5?
Post by: bala14492 on June 07, 2016, 10:51:07 AM
how to set my custom side button region into top(first) position in WDE 8.5?

[code]viewManager.ViewsByRegionName["CaseViewSideButtonRegion"].Insert(0,new ViewActivator()
                                                {
                                                    ViewType = typeof(ICustomerInfoSideButton),
                                                    ViewName = "CustomInfoButton",
                                                    ActivateView = true
                                                });[/code]

when i add this code ,it will display like contact,my custom,Response side button order...actually i need like my custom,contact,response...pls...
Title: Re: how to set my custom side button region into top(first) position in WDE 8.5?
Post by: Kubig on June 07, 2016, 12:38:35 PM
I think the list is arranged/sorted alphabetically by default.
Title: Re: how to set my custom side button region into top(first) position in WDE 8.5?
Post by: bala14492 on June 07, 2016, 03:30:56 PM
i found the solution for it....

Go to interaction workspace configuration add key like :
Key name:views.CaseViewSideButtonRegion.order  and set value:CustomInfoButton,InteractionContainerSideButtonView,SRLSideButtonView
Title: Re: how to set my custom side button region into top(first) position in WDE 8.5?
Post by: cavagnaro on June 07, 2016, 04:28:48 PM
;D Thanks for sharing