Delete Data Definition

 

Function Name: getDeleteDataDefinitionXml

 

Class: com.newgen.dmsapi.DMSInputXml

 

Description: This function is used to remove an existing Data Class from the System. The deletion of the Data Class depends on the DeleteFlag.

 

Input Parameters

Sample InputXML

Output Parameters

Sample OutputXML

View xml API::NGODeleteDataDefinition

 

 

Prototype:

 

public String getDeleteDataDefinitionXml

(

 

 

 

String cabinetName, String userDbId,

 

 

String dataDefIndex, String flagId

 

)

 

 

Input Parameters:

Name

Description

Valid Values

Default Behaviour

cabinetName

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

 

N/A

userDBId

User Database ID, which is returned in the ConnectCabinet call.

 

N/A

dataDefIndex

Check the existence of the Data Definition.

Integer > 0

 

flagid

Flag, which specifies whether the Data Definition has to be deleted.

1 - Data Class will only be deleted if it is not associated with any Folder or document, else error will be returned.

2 - Data Class can be deleted even if it is associated with any Folder or document. But, in this case no data should exist. That is Data Class is simply associated with Object.

 

 

Output Parameters:

An inputXml string of the NGODeleteDataDefinition call.