Indigo DRS Data Reporting System Indigo DRS
Report Paragraphs Indigo DRS Help

Report Paragraphs allow Content to be displayed using the Content Editor. Paragraph Content can be HTML and / or Text.

To Add or Edit a Report Paragraph click on the Report Treeview and select the Section or Group you wish to create a Paragraph in.

Edit the Paragraph Content using the HTML Content Editor. Click the Content button next to the Content property.

The Content Editor is a comprehensive HTML Editor with styling and formatting options to create rich Report content.

Paragraphs can also contain Report Field Queries to display Report Data. XQuery or Python can be used to display data in the form of Report Fields.

To Add a Report Field click the Fields Collection Editor.

Specify a Name for the Field, Formatting, Query Type and Query using the Property Grid. Clicking the Query button will open the relevant Query Designer / Editor.

Data Field Formatting

There are many options for formatting Field Data. Select the best formatting option to display the Field Data according to your requirements. Data can be formatted for Time, Date, Number, Currency and Strings.

Regular Expressions and Inbuilt Functions can also be applied to Data Formats to manipulate and extract Data.

Data Formats can also be declared globally in the Report and used throughout the Report to apply common Data Formatting options. If a global Data Format is available it will be shown in the dropdown for Field Formatting under Format Name.

Field Query Designer

Report XML Data can be queried using XQuery / XPath or Python statements. Queries are associated with Report Fields and the output of a Query will be substituted in place of the Report Field Name. If the Field Query Type is XQuery then the XQuery Designer will be opened otherwise if the Query Type is Python the Python Editor will be used.

A Field Name must be specified to be recognized by the Content Editor and the Query parser. Enter the Query for the Field using either the XQuery Designer or the Python Editor depending on the Query Type.

Retrieving the Name of a Fee from the report Data and displaying its output.

To display the Report Field in the Paragraph it needs to be added to the Paragraph using the HTML Content Editor.

The Report Content will now display the Query for the Field Name.

Report Rules

Paragraphs can also contain Report Conditional Rules to determine if the Paragraph is displayed or not. Report Rules are XQuery or Python statements that return True or False and determine if Content is Enabled. By Default if empty the Rule will always be True.

Namespaces

XML namespaces are used for providing uniquely named elements and attributes. If the Data Source contains Namespaces they be applied to the XQuery Processor.