Aqualogic Interaction API  
 

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

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

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

Parameters

lCardID
cardID of the document being added.
vsaTargetFolderIDs
vsaRankInEachFolder
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