Programmer's Guide > Interfaces > CMSSession interface > createFolder method
  
createFolder method
Creates a new CMS folder object
createFolder(name, folderLogicalId [, objType] )
Parameters
Stringname
Specifies the name of the new CMS folder object. The adapter is allowed to use a variant of this name if, for example, the CMS disallows two objects with the same name in the same folder. The actual name used can be obtained by accessing the name attribute of the returned CMSObject.
StringfolderLogicalId
Specifies the folder to put the object in. This may be the Logical ID of a folder or it may be in an adapter-specific path format.
StringobjType
[optional] Specifies the CMS object type for the new folder object.
Returns
CMSObject. A new object handle.
Throws
CMSException
If an error occurs.