### 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:
   - Click Insert > UDO on the menu bar.
   - Click the Insert UDO button on the Insert toolbar.
   - Drag UDO from the Toolbox panel to the destination where you want to insert the UDO.
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.
   - If you use menu or toolbar command to insert the UDO, click the mouse button in the desired location to insert the UDO there.
   - If you take the dragging and dropping method to insert the UDO, the UDO will be inserted there upon clicking the OK button.

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).