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.
- fileFormat
Type: SRSReportFileFormat Enumeration
The format 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.
- printDestinationSettings
Type: SRSPrintDestinationSettings Class
A SRSPrintDestinationSettings object that contains information about how to print the report.
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.