FolderItem
Properties
Name | Type | Access | Min Version | Description |
---|---|---|---|---|
name | string | R | 25.0 | The name of this project item. |
Static Methods
cast
25.0FolderItem
Cast ProjectItem in to FolderItem
Parameters
Name | Type | Description |
---|---|---|
projectItem | - |
Instance Methods
createBinAction
25.0Action
Returns an action that lets users create a new bin.
Parameters
Name | Type | Description |
---|---|---|
name | string | - |
makeUnique | boolean | - |
createMoveItemAction
25.0Action
Creates an action that moves the given item to the provided folder item newParent.
Parameters
Name | Type | Description |
---|---|---|
item | - | |
newParent | - |
createRemoveItemAction
25.0Action
Creates an action that removes the given item from this folder.
Parameters
Name | Type | Description |
---|---|---|
item | - |
createRenameBinAction
25.0Action
Rename the Bin and return true if it's successful
Parameters
Name | Type | Description |
---|---|---|
name | string | - |
createSetNameAction
25.0Action
Returns action that renames projectItem
Parameters
Name | Type | Description |
---|---|---|
inName | string | - |
createSmartBinAction
25.0Action
Creates a smart bin with given name and returns the Folder object
Parameters
Name | Type | Description |
---|---|---|
name | string | - |
searchQuery | string | - |
getItems
25.0ProjectItem[]
Collection of child items of this folder.
getParent
25.0ProjectItem
Get the parent project item of this project item.
getProject
25.0Project
Get the parent Project of this projectItem.