Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support to fetch xlsx reports #39

Open
wants to merge 2 commits into
base: feature/hgi-6644
Choose a base branch
from
Open

Conversation

keyn4
Copy link

@keyn4 keyn4 commented Nov 1, 2024

Description of change

Add support to fetch xlsx reports

Config flags to enable:

    "list_reports": true,
    "discover_report_fields": true,

xlsx reports available from version "43.0":

"api_version": "43.0"

Accepts custom reportMetadata to sort and filter reports, via config file.
example:

    "report_metadata": [
        {
            "Sales_October_Report": {
                "reportMetadata": {
                    "reportFilters": [
                        {
                            "column": "Product.Name",
                            "operator": "greaterThan",
                            "value": "1 1/4 ADAPTER"
                        }
                    ],
                    "sortBy": [
                        {
                            "sortColumn": "Product.Name",
                            "sortOrder": "Asc"
                        }
                    ]
                }
            }
        }
    ]

Notes:
Report Name should be the DeveloperName and the fields name for sorting and filtering should be the entityColumnName not the label shown in the report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant