View Single Post
Old 07-07-2016, 06:52 AM
fherrl fherrl is offline
Aspiring Member
Join Date: Jul 2016
Posts: 1
fherrl has 10 reputation points
Default Setting sort order of table data with


i created a real time monitor for our service desk based on
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")


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 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 Framework 4.0