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 are being added.
vsaRankInEachFolder
lRequestedApprovalState
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 statuses

See Also

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