SRSReportRun::renderReportToFile Method [AX 2012]

Renders the report to a file.

Syntax

client private static Array renderReportToFile(
    str fileName, 
    SRSReportFileFormat fileFormat, 
    str reportPath, 
    Map reportParameters, 
    SRSPrintDestinationSettings printDestinationSettings)

Run On

Client

Parameters

  • fileName
    Type: str
    The name of the file to create.
  • reportPath
    Type: str
    The Reporting Services path of the report.
  • reportParameters
    Type: Map Class
    A Map object that contains the report parameters.

Return Value

Type: Array Class
An array object that contains the file names that were created.

Remarks

Note that this method currently runs on the client only. This will be fixed when the server batch scenarios that display SSRS reports are fully implemented.

See Also

Reference

SRSReportRun Class