Define a New Report
The reports.xml file includes report definitions for all the Mart reports. This file is available in the MartServer\WEB-INF folder. Edit this file to modify an existing report definition or add a new report definition.
Report definitions have the following characteristics:
- Report definitions are created in XML format.
- Reports have a unique name that identifies the report.
- Reports are defined using XML elements.
The basic XML elements and tags are shown in the example below.
Follow these steps:
- Open the MartServer\WEB-INF\Reports.xml file.
- Enclose report definition within the <report> element.
- Define a name for the report within the <Name> element.
- Define each table that you want to include in the report. In the example below, the report is generated on the User table.
- Enclose the properties or columns of the required table that you want to appear in the output within the <Report_Output> element.
- Include all properties to report on within the <Property> element.
- Define each column to report on within the <Type> tag.
- Close all the tags.
- (Optional) execute this report in a web browser. Use the URL for reports described in the previous procedure.
An example of defining a report on Users is shown below:
<report>
<Name> Users </Name>
<User>
<Report_Output>
<Property>
<Type>ID</Type>
<Type>Username</Type>
<Type>EmailID</Type>
<Type>UserType</Type>
<Type>IsInternal</Type>
<Type>IsDeleted</Type>
</Property>
<Report_Output>
</User>
</report>
Copyright © 2025 Quest Software, Inc. |