report_config()

Description:

Read information from the report configuration file.

Syntax:

report_config(filePath, funfile)

Note:

This external library function (See The Programmer’s Reference) reads information from the report configuration file, including the application’s resource path and the report license file path, and loads the license file to authenticate it.

Parameter:

filePath

A file path, which is either an absolute path or a relative path, or a class path; for a relative path, its base directory is the application root directory; esProc default is the root directory.

funfile

Path of a user-defined function’s configuration file, which is either an absolute path or a relative path, or a class path; for a relative path, its base directory is the same as explained above.

Return value:

Configuration file object

Example:

>report_config("config\\raqsoftConfigReport.xml")

A relative path; filePath is relative to the esProc directory.

>report_config("D:\\esProc\\config\\raqsoftConfigReport.xml")

An absolute path.

>report_config("config\\raqsoftConfigReport.xml","config\\customFunctions.properties")

Both filePath and funfile are relative to the esProc directory.

>report_config("config\\raqsoftConfigReport.xml","customFunctions.properties")

Both filePath and funfile are relative to the class path.