datasource.directoryCreate ^v2.5.727
Creates the given directory in the MODLR file manager system in the provided path. Returns a boolean of the success of the directory creation.
js
datasource.directoryCreate(directoryName);
datasource.directoryCreate(directoryName);
Parameters
directoryName
- The name and file path of the directory and where it is to be created.
Examples
js
let res = datasource.directoryCreate("Export");
let res = datasource.directoryCreate("Export");
js
let res = datasource.directoryCreate("Upload/Images");
let res = datasource.directoryCreate("Upload/Images");