Aqualogic Interaction API  
 

IPTCatalog.AddCardToMultipleFolders Method (Int32, Int32[], Int32, Boolean)

Adds a single document to multiple target document folders.

object[] AddCardToMultipleFolders(
   int lCardID,
   int[] vsaTargetFolderIDs,
   int lRequestedApprovalState,
   bool bAddOnlyAtSpecifiedApprovalState
);

Parameters

lCardID
cardID of the document being added.
vsaTargetFolderIDs
array of folderIDs of document folders to which the document is being added.
lRequestedApprovalState
approval state of the document. The states are: approved or pending approval.
bAddOnlyAtSpecifiedApprovalState
if true and the requested approval state is "approved," user needs admin access privilege (full control) to add the document to the folder as approved; otherwise, documents that the user does not have admin access privelege for are added as unapproved documents.

Return Value

Object[] array of approval statuses

See Also

IPTCatalog Interface | com.plumtree.server Namespace | IPTCatalog.AddCardToMultipleFolders Overload List