Related Topics
Folder Class
This object represents a Folder, and is derived from the ContentObject class. All properties and methods from the ContentObject are supported for this object, plus the properties below.
Properties
PROPERTY NAME |
DATA TYPE |
DESCRIPTION |
---|---|---|
ID |
String |
The ID of this specific form instance |
Name |
String |
The text name of this specific form instance |
PID |
String |
The Partition ID of the partition where this form resides |
CreateTime |
DateTime |
The date/time of this specific form instance’s creation |
UpdateTime |
DateTime |
The most recent date/time that a user changed this specific form instance |
CreateUID |
String |
The User ID of the user which created this specific form instance |
UpdateUID |
String |
The User ID of the user who most recently update this specific form instance |
Methods


This API will create the complete folder path for the specific input.
Parameters
BP: The Process Director BP Object
PartitionID: The ID of the partition to use.
Path: The complete path to of the folder structure to create.
Returns
Folder: The newly created folder.
Example
// Normally not used directly
var oFolder = Folder.CreatePath(bp, CurrentPartition, "/folder1/folder2");


This API will create a new folder in the specified parent.
Parameters
BP: The Process Director BP Object
ParentID: The ID of the parent.
FolderName: The name of the new folder to create.
Returns
Folder: The newly created folder.
Example
// Normally not used directly
var oFolder = Folder.CreateNewFolder(bp, SomeParentID, "New Folder");


This API will get a Folder object from the specified Folder Path.
Parameters
BP: The Process Director BP Object
PID: The Partition ID or name.
PathName: The complete path of folder to retrieve.
Returns
Folder: Will return null if partition isn't found.
Example
var oFolder = Folder.GetFolderByPathName (bp, CurrentPartition, "/folder1/folder2");
Documentation Feedback and Questions
If you notice some way that this document can be improved, we're happy to hear your suggestions. Similarly, if you can't find an answer you're looking for, ask it via feedback. Simply click on the button below to provide us with your feedback or ask a question. Please remember, though, that not every issue can be addressed through documentation. So, if you have a specific technical issue with Process Director, please open a support ticket.