Avaya Support Forums

Avaya Support Forums (http://support.avaya.com/forums/index.php)
-   Contact Center Applications (http://support.avaya.com/forums/forumdisplay.php?f=3)
-   -   Setting sort order of table data with VB.net (http://support.avaya.com/forums/showthread.php?t=11763)

fherrl 07-07-2016 06:52 AM

Setting sort order of table data with VB.net
 
Hello,

i created a real time monitor for our service desk based on VB.net.
It works fine and stable so far.

"Behind" the wallboard is a hidden detail view for our teamleads where the skills are shown separately. I need that data to be sorted.

In the CMS Supervisor tool is an option to sort the table data. Inside the exported scripts from that tool is an nice working instruction called:

rep.ReportView.Add "G1,0,0;0,0,0","TABLE1"

Translated into my programm code it should be like this:

rep.ReportView.Add("G1,0,0;0,0,0", "TABLE1")

or

rep.SetProperty("TABLE1", "G1,0,0;0,0,0")

After that i export the data as usual with the known function

rep.ExportData(filelocation, 59, 0, True, False, True)


I know that the first three parameter in "G1,0,0;0,0,0" represent the three sort order options available in the supervisor tool. Depending on the amount of columns of the table there are positive numbers for ascending and negative numbers for descending sort order while 0 is none.

I tried different combinations of setting that property in my VB.net project. It doesn't work.
When i call the script via exported acsauto file it works with that instruction.

So the question is/are: Do i miss something while setting that sort order? Is maybe the order of parameters wrong? Or is it in general not possible to set this property via external programm code? I thought accessing the ACSREP.dll has allways the same functionality.


Of course i searched my whole computer for more information. There is an registry key which sets the parameter.

HKEY_CURRENT_USER\Software\Avaya\Supervisor\16.0\U serSettings\%User%\%UserID%\Reports\Integrated\Des igner\%Reportname%

But in my opinion this key is for saving the last user defined settings for each report in the supervisor tool.


I would be happy if anyone have an idea to solve this.


Additional information:
Avaya CMS Supervisor v16.3
Wallboard VB.net Framework 4.0

shaikht 07-18-2016 03:14 AM

Hi,

If you need assistance on customizations, please engage Avaya professional services.

I hope it helps.


All times are GMT -7. The time now is 08:38 AM.