REPORT

The command will generate a report from the Data Source in FROM or a list of Items to a binary stream. The command is introduced from Perfion2022 R1.

Properties

From

Optional. Input Data Source as a neutral Table-format. The columns can be used to map fields to the report.

To

Specifies a Data Source as a binary stream.

Parameters

@ItemId

The Perfion ItemId the report should be generated at. Multiple Id can be added, separated with Comma.

@ReportId

The report id to generate.

@ReportName

Optional. The name/filename of the report. Default is the name of the report template.

@StreamFormat

Optional. Report formats. The following export formats are supported:

  • Pdf (Default)

  • Html (Images is not supported)

  • Mht

  • Rtf

  • Xls

  • Xlsx

  • Csv (Images is not supported)

  • Text (Images is not supported)

  • AddInOutput

@Language

Optional. Report language.

@ImageQuality

Optional. Quality of the images.

  • Low

  • Medium

  • High (Default)

  • Original

Map

From

Name of Header, as it is named from Input-source.

To

"ItemId" is the Perfion ItemId the report should be generated at. It is not possible to specify the parameter ItemId both as a Mapping and a parameter.

Script

Any Script code to execute for this header

Examples

Example of REPORT command setup in Actions to save a report as a file and send an email: