Zum Hauptinhalt springen

createFolder

createFolder(folderSpec, skipIfExists?): boolean

Creates a new public folder with the specified properties.

Parameters

folderSpec

PublicFolderSpec

The properties of the public folder to create.

skipIfExists?

boolean

Whether to skip creation if the folder already exists. Defaults to true.

Returns

boolean

true if the folder was created, false if it already exists, but only if skipIfExists is true.

Throws

When unable to create the folder.