RootFolder
The RootFolder (CscScriptRootFolder) object and the corresponding script sheet are only available if folders are enabled. It provides events for foldering.
Foldering events can occur during server processing or if allowed during Validation.
The following image illustrates the script event sequence when foldering is executed:
The DoFoldering event can be used to group the documents into subfolders. This event sequence is then followed by the Folder Extraction and Validation Events that can be used to calculate folder field data or in combination with a folder field validation rule to control the contained documents in the folder. For more information about applying Foldering please refer to Foldering.