Customizing XML Reports

Oracle HRMS enables you to customize the details displayed on the XML version of the legislative reports. In case you do not want to customize these reports, you can select the predefined report template while running the report from the Submit Request window. However, if you choose to customize the report template, you must complete several tasks before you run the report.

You customize the XML version of the legislative report using Oracle XML Publisher. To customize the report, you can do one of the following:

  1. Create a new rich text format template.

    Using the predefined report template as a sample, create a new report template and save it as a rich text format file. See: Overview of Creating an RTF Template in the Oracle XML Publisher User's Guide.

  2. Create a new template definition.

    Using the predefined template definition as a sample, create a new template definition in the Template Manager for your template design file. When you create the template definition in the Template Manager, you register and upload your template design files.

    See: Creating the Template in the Oracle XML Publisher User's Guide

  3. Run the report. You can now select your template while running the report.

  4. Modify the predefined template.

    You can modify the predefined template by adding new fields to display the required details in the legislative report. You can add as new fields the values that are available in the lookup created for the report and HR or pay tables such as PER_ALL_PEOPLE_F, PER_CONTRACTS_F, but not mapped with the predefined report template. You must not add new fields that have no data source in either the report specific lookup or HR/pay tables.

    See: Overview of Creating an RTF Template in the Oracle XML Publisher User's Guide

  5. Modify the predefined report template definition. You can modify the predefined template definition to add your new rich text format template and update the general definitions of a template.

    Note: Ensure to upload the modified rtf template if you have updated it and saved it with the same name as the predefined rtf template.

    See: Viewing and Updating a Template in the Oracle XML Publisher User's Guide.

  6. Run the legislative report from the Submit Request window.