Function Name: getAddAttachmentXml
Class: com.newgen.dmsapi.DMSInputXml
Description: This function is used to attach a document to some document.
|
Prototype:
public String getAddAttachmentXml |
( |
|
|
|
String cabinetName, String userDbId, |
|
|
String docIndex, String objected, |
|
|
String objecttype, String pageNo, |
|
|
String imageIndex, String VolumeIndex, |
|
|
String attachmentName, String owner, |
|
|
String noOfObjects, String loginUserRights |
|
) |
|
Name |
Description |
Valid Values |
Default Behavior |
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 |
docIndex |
Unique Index of the document for which the User wants to attach some Attachments. |
|
N/A |
ObjectId |
Index of Object on which Locking / Unlocking operation is being performed. |
Integer >=0 |
N/A |
ObjectType |
Type of Object on which Locking / Unlocking operation is being performed. |
‘D’ – Document ‘F’ – Folder ‘U’ – User. If any other value is given then exception will be thrown. |
N/A |
pageNo |
Page Number for which the User wants to attach the Attachments. |
Integer |
N/A |
imageIndex |
Image Index of the Attachment. |
|
N/A |
volumeIndex |
Volume Index of the Attachment. |
|
N/A |
attachmentName |
Name of the Attachment. |
|
N/A |
owner |
Owner of the Attachment. |
|
N/A |
noOfObjects |
No Of Objects. |
|
N/A |
loginUserRights |
Rights of the logged in User. |
|
N/A |
An inputXml string of the NGOAddAttachment call.