I am attempting to add some scripts to an ArcSight template in order to show/hide elements depending on whether there is content inside them. I am also hoping to add some basic logic to do things like SUM all the cells in a particular column and then add that value to a text box element.
Unfortunately, I cannot get the scripts to work at all. I have followed examples in the Report Designer Help to try basic colour changes to just see if I can get any results and the use of java.awt.Color.red throws an error: java.awt.Color[....] is not a function.
When I try setting the visible flag to false nothing happens.
Are there any prerequisites to getting the script functionality in the Report Designer to work? Or is there a way to troubleshoot the scripts?