Copy Document

 

Function Name: getCopyDocumentExt

 

Class: com.newgen.dmsapi.DMSInputXml

 

Description: This function copies the List of documents into the destination Folder.

 

Input Parameters

Sample InputXML

Output Parameters

Sample OutputXML

View xml API:: NgoCopyDocumentExt

 

 

Prototype:

public String getCopyDocumentExt(String cabinetName, String userDBId,

String documentList,

String destFolderIndex,

String nameLength,

String creationDateTime,

String dataAlsoFlag,

String duplicateName)

 

Overloaded Function:

public String getCopyDocumentExt(String cabinetName, String userDBId,

String documentList,

String destFolderIndex,

String nameLength,

String creationDateTime,

String dataAlsoFlag)

 

 

Input Parameters:

Name

Description

Valid Values

Default Behaviour

cabinetName

Name of the Database Cabinet to which the User wants to connect.

The name of the Cabinet.

N/A

UserDBId

UserDatabase ID, which is returned after the execution of getConnectCabinetXml call.

 

N/A

documentList

Contains information about the documents to be copied from a Folder. This List can be generated using the function

GetCopyDocumentIndexList.

 

N/A

destFolderIndex

Folder Index of the destination Folder to which the documents have to be copied.

Integer >=0

N/A

NameLength

Maximum Length of Names of the Documents that are to be copied.

Integer >=0

N/A

creationDateTime

The Date and Time at which the documents are being copied.

Valid Date in the format- yyyy-mm-dd hh:mm:ss

The current Date and Time.

DataAlsoFlag

If ‘Y’, then the associated Data Class is also copied.

If other than Y, then it means Data Class should not be copied.

 

duplicateName

This flag indicates whether a new name is to be generated for the given document.

‘Y’ – Yes

‘N’ – No.

Y or N

 

Y

 

Output Parameters:

Input Xml of call NgoCopyDocumentExt.