Skip to main content
Skip table of contents

Reporting - File Name

Customer(s)

General Electric

Description

Automatic reporting via our SQL feature used to generate a file with a hard-coded name. Now the file name is configurable. In other words, we added new property to SQL Report action config to set template to generate attachment name. If this is left empty, attachment will be set to action name (existing behavior).

Within the template you have access to the action config and result set, as well as built-ins from freemarker.

Example:

CODE
Report ${config.name} - ${.now?string[\"dd_MMM_yyyy\"]} - ${result.rowCount} rows

Results in:

CODE
MyReport - 04_MAY_2020 - 1384 rows.csv

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.