COLLECTION_ADD Folders Services

7-4 Oracle Fusion Middleware Services Reference Guide for Oracle Universal Content Management ■ COLLECTION_UPDATE ■ COLLECTION_UPDATE_ADMIN_CONFIG ■ COLLECTION_UPDATE_ADMIN_INHERIT_CONFIG ■ COLLECTION_UPDATE_ADMIN_METADATA_DEFAULTS ■ COLLECTION_UPDATE_ALL ■ COLLECTION_UPDATE_ITEM ■ COLLECTION_UPDATE_META ■ COLLECTION_UPDATE_META_TABLE ■ COLLECTION_UPDATE_MOUNTS ■ COLLECTION_UPDATE_PROFILE_METADATA_DEFAULTS ■ COLLECTION_UPDATE_PROFILE_METADATA_REVISION_DEFAULTS ■ COLLECTION_UPDATE_STRUCTURE ■ COLLECTION_VERIFY_FOLDER_NAME ■ GOTO_COLLECTION ■ GOTO_ROOT_COLLECTION ■ GET_OPTION_LISTS

7.2.1 COLLECTION_ADD

Service that creates a Folders_g folder. The most likely errors are mismatched parameters or the folder does not exist. Service Class: Service general service Location: IdcHomeDircomponentsfolders_gresourcesfolders_service.htm Additional Required Service Parameters ■ dCollectionName: The name of the folder to create. One of the following sets of parameters to identify the parent folder: ■ hasParentCollectionID: Boolean Specifies whether the dParentCollectionID parameter is used to identify the parent folder ID. dParentCollectionID: The parent folder ID. ■ hasParentCollectionPath: Boolean Specifies whether the dParentCollectionPath parameter is used to identify the path to the parent folder. dParentCollectionPath: The path to the parent folder. ■ hasParentCollection GUID: Boolean Specifies that the dParentCollectionGUID parameter is used to identify the GUID for the parent folder. dParentCollectionGUID: The parent folder GUID. Folders Services 7-5 Optional Service Parameters ■ dCollectionOwner: The folder owner. If xForceFolderSecurity=TRUE, then the folder owner is the same as the parent folders owner. Otherwise, the default is the current user. This setting overrides the user set as the the collection owner. The owner can access and modify the folder despite other set security criteria. ■ dCollectionCreator: Overrides the user set as the folder creator. The default value is the current user. ■ dCollectionModifier: Overrides the user set as the last folder modifier. The default value is the current user. ■ ignoreMaxFolderLimit: Allows more subfolders to be added to the parent folder than the currently set maximum limit. The default value is false. ■ mark: Sets dCollectionMark for the folder. Folders with dCollectionMark set are not modifiable without CollectionReadOnlyMarkedFolders being set to false not the default case. These marked folders and their enableddisabled state can be viewed on the System Folder Configuration page. Contribution Folders and Trash are marked folders. ■ force: Creates a folder under the root folder dParentCollectionID=-1. The default value is false. ■ any system or custom metadata field: The given field and value will be set for the folder and used as default values for content and folders created within the folder. Example IdcService=COLLECTION_ADD hasParentCollectionID=true dCollectionName=Products dParentCollectionID=1 dCollectionOwner=bsmith

7.2.2 COLLECTION_ADD_LINK