Aqualogic Interaction API  
 

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

Adds a single document to multiple target document folders with ranking.

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

Parameters

lCardID
cardID of the document being added.
vsaTargetFolderIDs
array of folderIDs of the document folders to which the document is being added.
vsaRankInEachFolder
array of ranking to be assigned to the documents in the target document folders.
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.AddCardToMultipleFoldersWithRank Overload List