GN4 report (with database)

Build 1501 on 14/Nov/2017  This topic last edited on: 21/Mar/2016, at 18:34

A GN4 report defines how GN4 collects the statistics data (to copy into the reports database).

It is configured by the ReportOptions object. The serialized xml of the ReportOptions object is stored into a xml configuration file.

Before running a report, you have to load the configuration file into the GN4 database using the cmd4 config command. For example:

cmd4 config –in report_test.xml

where report_test.xml is a single report file.

The ReportOptions object can be stored:

In a single report configuration file (“report_...” xml file).

These are the reports displayed by GNPortal and client applications (‘Reports’ tab).

In a GN4 workflow configuration file(“wf_...” xml file).

The GN4 workflow collects statistics data calling the Report activity, which needs a ReportOptions to work.