WHFSFolder::CreateFolder (open)
Create a new folder
Syntax
LOADLIB "mod::system/lib/internal/whfs/objects.whlib";
OBJECT FUNCTION CreateFolder(RECORD metadata, RECORD options)Parameters
RECORD metadataMetadata of the new folder. All cells except name are optional.
descriptionDescription of the folder (string, max 2048 characters, optional)
idId of the new folder (integer, optional)
indexdocId of indexdocument of this folder (integer, must link to file within this folder, optional)
keywordsKeywords (string, max 1024 characters, optional)
modificationdateModificationdate for this folder (datetime, optional)
nameName of this folder (string, must check ok with IsValidWHFSName, required);
orderingRelative ordering vs other objects in the parent folder (integer, optional)
titleTitle of the folder (string, max 256 characters, optional)
typeId of the type of this folder (integer, optional)
RECORD options