Skip to content

datasource.directoryCreate ^v2.5.727 ​

Creates a directory.

js
datasource.directoryCreate(directoryName)

Parameters ​

ParameterTypeDescription
directoryNamestringThe path of the directory to create. Only the last folder is created, so its parent must already exist.

Returns ​

boolean

true when the directory was created. false when the path is invalid, the directory already exists or its parent doesn't exist.

Examples ​

js
datasource.directoryCreate("Export");
datasource.directoryCreate("Upload/Images");