![]() ![]() |
#1
|
|||
|
|||
![]()
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 |
Tags |
cms, reportview, sort order |
Thread Tools | Search this Thread |
Display Modes | |
|
|