ExtractDrillableRegionsByURLNames

Retrieves only the URLs that appear in the input array varabstrURLNames.

Syntax

<HsvData>.ExtractDrillableRegionsByURLNames varabstrURLNames, bstrRegionsFilename, bstrLogFileName, pvbErrors, pvbWarnings
ArgumentDescription
varabstrURLNamesVariant (ByVal). Array of URL names.
bstrRegionsFilenameString (ByVal). The file path to the definition file on Financial Management application server.
bstrLogFileNameString (ByVal). The name and path of the log file. The path must exist on the application server.
pvbErrorsBoolean. Returns TRUE if errors occurred during the load task. See the log file for details.
pvbWarningsBoolean. Returns TRUE if warnings occurred during the load task.

Example

This function is intended to be used by HFMAwbAgent. The following example extracts existing URL definitions for “ERPI_USSales,” “ERPI_EUSales,” and “ERPI_Salary” and save it to C:\\temp\\~RD4a6e.tmp. Progress messages and errors are going to be saved in the log file C:\\temp\\~RD9bc3.tmp. If any errors or warnings occur, vbError or vbWarnings will be set to VARIANT_TRUE.

ExtractDrillableRegionsByURLNames(varabstrURLNames, _T(“C:\\temp\\~RD4a6e.tmp”), _T(“C:\\temp\\~RD9bc3.tmp”), &vbError, &vbWarnings);

The input parameter varabstrURLName should be an array of BSTR, containing “ERPI_USSales,” “ERPI_EUSales,” and “ERPI_Salary.”