DirectoryPath

Specifies the folder that stores the files. If you omit this parameter, the following path is used by default:
<Sage CRM installation folder>\WWWRoot\Reports

By default, the Sage CRM installation folder is

%ProgramFiles(x86)%\Sage\CRM\CRM

Values

WideString. Specifies the path to the folder.

Examples

var afile;
afile = CRM.GetBlock('file');
afile.FileName = 'Results.htm';
afile.DirectoryPath = 'c:\\MyFolder\\Storage';