PublicAPI.Docflow.Folder.CreateFolder ELMA API Documentation
Create a folder
 
 
Syntax

public Folder CreateFolder(
	Folder parentFolder
)

Parameters

parentFolder
Type: Folder
Parent Folder, in which the folder is created. Object. Access path: PublicAPI.Docflow.Folder

Return Value

Type: Folder
Created Folder
Examples

//load the folder by ID 
var prntFolder = PublicAPI.Docflow.Folder.Load(3);

//create a folder 
var newFolder = PublicAPI.Docflow.Folder.CreateFolder(prntFolder);

//newFolder - created folder 

//WARNING!! This method creates a "New Folder" folder 
//When using this function, the duplicateNames and inherit parameters get the True value by default
See Also