" /> how to set my custom side button region into top(first) position in WDE 8.5? - Genesys CTI User Forum

Author Topic: how to set my custom side button region into top(first) position in WDE 8.5?  (Read 1857 times)

Offline bala14492

  • Newbie
  • *
  • Posts: 14
  • Karma: 1
Advertisement
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...
« Last Edit: June 07, 2016, 11:57:30 AM by bala14492 »

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2755
  • Karma: 44
I think the list is arranged/sorted alphabetically by default.

Offline bala14492

  • Newbie
  • *
  • Posts: 14
  • Karma: 1
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

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
;D Thanks for sharing