I am not familiar with Documentum/WebTop. I am looking at below code snippet that imports a document from another third party product. Everything is working fine and my question is:
Does the below code check if the document already exists in the target folder and if so skips importing if found.
If it does not what code will I have to add? I am not able to determine that from the code.
Dim sysObj As IDfSysObject = oSession.getObjectByPath(myDocumentumPath & "/" & Reportname)
If sysObj IsNot Nothing Then
If (sysObj.getObjectName().Equals(Reportname)) Then
Try
If sysObj.getPermit >= 6 And sysObj.isCheckedOut = False Then
sysObj.setFile(myDocumentumPath)
sysObj.save()
Message = "Batch sucessfully imported to WebTop"