Creating a Custom Algorithm for FOP Reports

Prerequisite

To create a custom algorithm for FOP reports you should have:

  • The ReportDataExtractAlgorithmSpot algorithm spot defined in the application

Procedure

To create a custom algorithm for FOP reports:

  1. Log into Eclipse.
  2. In the navigation pane, right click on the C1 folder.
    A list appears.
  3. From the list, select New and then click Others.

    The Select a Wizard window appears. It contains the following field:

    Field Name Field Description Mandatory (Yes or No)
    Wizard Used to filter the Algorithm Implementation wizard. No
    Note: You can also navigate to the Algorithm Implementation wizard in the Oracle Utilities section through the navigation window provided below the Wizard field.
  4. Select Algorithm Implementation from the navigation window.
  5. Click Next.
    The New Algorithm Implementation window appears. It contains the following fields:
    Field Name Field Description Mandatory (Yes or No)
    Source Folder Displays the source from where the algorithm spot is called. The valid value is:
    C1/Java
    Not Applicable
    Package Used to specify the directory in the source folder where you want the algorithm to appear. The valid value is:
    com.splwg.ccb.domain.reportsubmission.custom
    Yes
    Name Used to specify the algorithm that you want to create. Yes
    Soft Parameters Used to specify parameters for the algorithm. No
    Algorithm Spot Interface Used to specify the algorithm spot used to create custom data extract in the PDF or XLS format. The valid value is:
    com.splwg.ccb.domain.reportsubmission.ReportDataExtractAlgorithmSpot
    Note: You can also extract data in the XML, CSV, or JSON formats by calling the CommonUtil_​Impl API while generating the respective report.
    Yes
  6. Click Finish.
    The custom algorithm for FOP report is created.