FolderItem
Properties
| Name | Type | Access | Min Version | Description |
|---|---|---|---|---|
type | number | R | 25.0 | Get the type of the Project Item. |
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 | - |
createSetColorLabelAction
25.0Action
Create an action for set color label to projectItem by index
Parameters
| Name | Type | Description |
|---|---|---|
inColorLabelIndex | number | - |
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 | - |
getColorLabelIndex
25.0number
Get color label index of projectItem
getItems
25.0ProjectItem[]
Collection of child items of this folder.
getProject
25.0Project
Get the parent Project of this projectItem.

