ReportConfig - gopai/reporting-sdk GitHub Wiki

ReportConfig

The ReportConfig is a data structure that holds all the configuration data for a given report.

This is primarily used for the columns of a report that show a different value than is actually stored.

The tree structure looks like this.

  • The report config has a list of Fields
    • A Field has a type string, a readonly flag, a name, and a Data object
      • The Data object has a type string, a forced flag, and a list of Value objects
        • A Value object has a label string (The visible value) and a key string (The actual filter value)