SetRuntimeDataXMLFile method: ReportDefn class

Syntax

SetRuntimeDataXMLFile(FilePath)

Description

Use the SetRuntimeDataXMLFile method to specify an existing XML file as the data source for the report.

Note:

Because the SetRuntimeDataRowset and SetRuntimeDataXMLDoc methods have been desupported, use this SetRuntimeDataXMLFile method instead.

Report definitions that use a data source other than a PeopleSoft query must set that data source before generating the report using the ProcessReport method.

Forward or back slashes are used in the path according to the operating system of the application server or process scheduler server—that is, on Unix servers, the directory separator is a forward slash, while Windows servers use back slashes.

Parameters

Parameter Description

FilePath

Specify an absolute path to the file that you want to use. You must include the file name and file extension in the parameter.

Forward or back slashes are used in the path according to the operating system of the application server or process scheduler server. That is, on Unix servers, the directory separator is a forward slash, while a Windows server use a path with back slashes.

Returns

None.