Aqualogic Interaction API  
 

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

Adds a single document to a single target document folder with ranking.

object[] AddMultipleCardsToFolderWithRank(
   int vsaCardIDs,
   int[] vsaRankForEachCard,
   int lTargetFolderID,
   int lRequestedApprovalState,
   bool bAddOnlyAtSpecifiedApprovalState
);

Parameters

vsaCardIDs
vsaRankForEachCard
rank assigned to each document for each folder.
lTargetFolderID
folderID of the Folder 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.AddMultipleCardsToFolderWithRank Overload List