Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE

Silk Central Report Templates - BIRT v4.4

Silk Central Report Templates - BIRT v4.4

Silk Central 16.0 introduced a new version of BIRT v4.4, and what this means is that some of the previous templates developed on older versions of Silk Central will need to be upgraded.

Below you will find the instructions in making sure that you can successfully upgrade your BIRT v2.5.

1. Some of the shipped templates used an if clause in chart series data to hide series with 0-values in (stacked) bar charts:

if (row["passed"] > 0) {
  row["passed"];
} else {
  Number.NaN;
}

This doesn't work any longer, an error that NaN can't be used as chart data is displayed. Just use e.g. row["passed"] as the series data, and paste the following into the "onRender" script on the Script tab of the chart:


function beforeDrawDataPointLabel(dph, label, icsc) {
  if (label.getCaption().getValue() == "0") {
    label.setVisible(false);
  }
}

2.  BIRT 4.4 is more critical on invalid data bindings on tables/grids. It seems that all the bindings are evaluated although they might be unused.

3.  When creating custom reports, please use the BIRT RCP Designer package that can be downloaded on the Help/Tools page in Silk Central. This BIRT designer package includes Silk Central .jar files that are necessary to connect to Silk Central web services.

4. The BIRT 4.4 Report designer no longer has a "Preview" tab using a built-in browser control. 
To preview reports, choose "Run/View Report/As HTML" from the menu.


The browser to be used can be specified as follows:


- In "Window/Preferences/Web Browser" select "Use external web browser" and choose a browser.
- In "Window/Preferences/Report Design/Preview" you can check "Always use external browsers"

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
1 of 1
Last update:
‎2015-11-18 14:10
Updated by:
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.