Adding the external report viewer to the Data Management Portal

Reports are added to the Data Management Portal by modifying the reports.xml file. The reports.xml file is located in the $COLLATION_HOME/etc/cdm/xml/ directory.

To add the external report viewer to the Data Management Portal, complete the following steps:

  1. Using a text editor, open the $COLLATION_HOME/etc/cdm/xml/reports.xml file.
  2. In the reports.xml file, specify the report descriptor, report group, report name, and external script for the report definition. The following example shows how to create an external report named Application Servers that is located in the Inventory Reports group and specifies the sdk/bin/appServers.sh file:
    <bean class="com.collation.cdm.reports.viewer.ExternalReportViewer" id="AppServers1">
    	<property name="reportGroup"><value>Inventory Reports</value></property>
    	<property name="reportName"><value>Application Servers</value></property>
    	<property name="script"><value>sdk/bin/appServers.sh</value></property>
    </bean>
    
  3. Save the $COLLATION_HOME/etc/cdm/xml/reports.xml file.
  4. The report is now displayed in the Data Management Portal.