The following chapters describes the various things to know when migrating from older versions of i-net Crystal-Clear to version 9.x of i-net Crystal-Clear.
The following list includes the methods that are deprecated in version 9 and should no longer be used. Please consult the API documentation of the individual methods for more information about newer methods to use instead.
The following methods had been deprecated for longer than 2 major versions and have now been entirely removed in version 9 of i-net Crystal-Clear.
Since version 9, for security reasons, only the following parameters are allowed by default in the report URL: “prompt”, “init” and “sproc”. To use other parameters in the report URL, like “datasource”, it could be necessary to unlock them in the Configuration Manager before using it.
It is always possible to set values for all parameters in the checkProperties method on the server side. Java code samples showing this you can find in the “samples” directory of the documentation (if installed).
The evaluation time of formulas has been changed in version 9 in order to provide better performance as well as be more consistent. The formula functions “WhileReadingRecords” and “WhilePrintingRecords” now have a slightly different effect on when the formula is evaluated, as well as on how the formula can be used.
If you use an older configuration with i-net Crystal-Clear version 9, then it is necessary to set the Compatibility Level to “compliant to version 9.x” to use the new behavior of “WhileReadingRecords” formulas. If you create a new configuration with version 9, then “compliant to version 9.x” is the default value.
Because of the modified behavior it might be necessary to update your reports using the WhileReadingRecords function so that you get the same result as with previous i-net Crystal-Clear versions. It is unfortunately necessary to do this behavior modification because the old behavior was incorrect.
In order to figure out which reports need modification, we provide a tool called EvaluationTimeChecker with our Java source code samples (see: directory samples.formula) that can be installed during the setup, which will point you to any reports you might have which will have any changed behavior in version 9. For backwards compatibility, you have in the Configuration Manager the property “Compatibility Level”. Please set the value to “compliant to version 8.x” to keep the old formula evaluation time behavior.
Note that if two formulas have the same evaluation time, they are evaluated in the order they were created. Say you have two “before reading” formulas in your report header – the first one you created will be evaluated before the second one, even if the second one is positionally above the first.
The algorithm for “Underlay Following Sections” was rewritten to implement the correct definition. This can change the output of your reports if you were affected by bugs in the old implementation. One benefit is that you can now design reports with watermarks without any problems. If you want to create a watermark then you need only to add a first section to the report/page header and enable “Underlay Following Sections” for this section. You should place the image either in the report or the page header depending on if you want one watermark per report or one per page.
Since version 9, i-net Crystal-Clear uses a zipped file format for the report templates (.rpt), similar to the OpenDocument zip file format. This new report file format was a prerequisite for new features like the Report Preview and translation resources per report. With this format the performance has been improved especially for large reports, because the file size is smaller and it is faster. Also, with this format we are open for further additions to the report templates.