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 metadata
Metadata of the new folder. All cells except name are optional.
description
Description of the folder (string, max 2048 characters, optional)
id
Id of the new folder (integer, optional)
indexdoc
Id of indexdocument of this folder (integer, must link to file within this folder, optional)
keywords
Keywords (string, max 1024 characters, optional)
modificationdate
Modificationdate for this folder (datetime, optional)
name
Name of this folder (string, must check ok with IsValidWHFSName, required);
ordering
Relative ordering vs other objects in the parent folder (integer, optional)
title
Title of the folder (string, max 256 characters, optional)
type
Id of the type of this folder (integer, optional)
RECORD options