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:
- Using a text editor, open the $COLLATION_HOME/etc/cdm/xml/reports.xml file.
- 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>
- Save the $COLLATION_HOME/etc/cdm/xml/reports.xml file.
- The report is now displayed in the Data Management Portal.