Share via


XMLExcelReport_RU.processInExcel Method [AX 2012]

Processes the specified file by using print management or the printJobSettings instance.

Syntax

protected void processInExcel(Filename _filename)

Run On

Called

Parameters

Remarks

There are several ways of processing the file, depending on the printMedium and printFormat values.

  • If the print medium is a screen, the file is opened as a template and then deleted. If user tries to close the file, he or she is prompted to confirm the save operation and enter a file location.

  • If the print medium is a printer, the file is sent to a printer, and the parameters that are specified in the print settings are used.

  • If the print medium is a file, the file is saved to a specified location under its original file name.

Depending on the printFormat value, the file is saved as a PDF, CSV, HTML, or Unicode file, or it remains in Excel format.

RTF format should be specified if you want the file just to be saved as an Excel file.

See Also

Reference

XMLExcelReport_RU Class