GetReportsCache - cBaseLocalControlHost
Returns the web application's Report Cache directory
Type: Function
Return Data Type: String
Parameters
| Parameter | Type | Description |
|---|---|---|
| bCreate | Boolean | Pass True if the report cache directory should be created if it does not exist |
Syntax
Function GetReportsCache Boolean bCreate Returns String
Call Example
Get GetReportsCache bCreate to StringVariable
Description
Returns the full file path of the standard Reports Cache folder of the current workspace. Normally, this would be "\Reports\Cache", where is the full path to the workspace's root folder (psHome).
Note if the bCreate parameter is True and the reports cache folder does not currently exist, then the function will attempt to create that directory. If it is unable to create the directory, then an Error is raised and the Function will return "".
Return Value
String containing the absolute path to the reports cache folder.