COLLECTION_MOVE_ITEM Folders Services

7-24 Oracle Fusion Middleware Services Reference Guide for Oracle Universal Content Management todCollectionID=218

7.2.47 COLLECTION_MOVE_ITEM

Service that moves a single content item or link from the specified folder to the destination folder. If an item with the same file name exists in the target folder, the move fails. The most likely errors are mismatched parameters or the folder does not exist. No returned data. Service Class: Doc Service Location: IdcHomeDircomponentsfolders_gresourcesfolders_service.htm Additional Required Service Parameters ■ One of the following sets of parameters to identify the destination folder: – tohasCollectionID: Boolean Specifies whether the todCollectionID parameter is used to identify the destination folder. todCollectionID: The ID for the destination folder. – tohasCollectionPath: Boolean Specifies whether the todCollectionPath parameter is used to identify the destination folder. todCollectionPath: The path to the destination folder. – tohasCollectionGUID: Boolean Specifies whether the todCollectionGUIID parameter is used to identify the destination folder. todCollectionGUID: The GUID for the destination folder. – tolevel0: Specifies the first value in the path for the destination folder for example, Contribution Folders. tolevel1: Specifies the next level value in the path for the destination folder for example, t4. tolevel2: Specifies the next level value in the path for the destination folder for example, 1. ■ One of the following sets of parameters to identify the content item to move: – dDocName: The Content ID for the content item. – fromhasCollectionPath: Boolean Specifies whether the fromhasCollectionPath parameter is used to identify the contribution folder for the content item. fromdCollectionPath: The path to the contribution folder for the content item. – isLink: Boolean Specifies whether the dLinkID parameter is used to identify the shortcut to the content item. dLinkID: The Link ID for the shortcut to the content item. Optional Service Parameters ■ toContentName: New file name for the moved item. ■ destMustExist: Defines truefalse whether the destination for the item or link to move must exist. If this parameter is false or missing, and no destination folder is specified, then the item is removed from its current Folders_g folder xCollectionID is set to 0. Folders Services 7-25 Example IdcService=COLLECTION_MOVE_ITEM tohasCollectionID=true todCollectionID=218 dDocName=TG000570 toContentName=moved_name.txt

7.2.48 COLLECTION_MOVE_LOT