Inserting a UDO into a report

A UDO can be inserted in the page report areas listed in Component placement. UDOs are not supported for web reports and library components.

To insert a UDO to a report:

  1. Start JReport Designer with the modified setenv batch file that includes the new classes, then create a new report, or open an existing report.
  2. Do one of the following:
  3. In the Insert UDO dialog, select a UDO as required from the UDO drop-down. The list contains all UDOs that have been registered in the file setenv.bat in <install_root>\bin.
  4. Click OK in the dialog.

After a UDO has been inserted, you can then customize its appearance and behavior by setting properties in the Report Inspector, which can be saved as a CSS style for future use (for details, see Creating a CSS style). Once you publish your report to the server, be sure to include the classpath in the setenv batch file in JReport Server (<server_root>\bin\setenv.bat).