Hi Experts,
I have an application(vb.net) which connect to Documentum via DFC and PIA. Now, I am working on the code conversion for using DFS.
In the original code:
opImport = clientX.getImportOperation()
opImport.setSession(session)
opImport.setDestinationFolderId(idFolder)
node = CType(opImport.add(ofile), IDfImportNode)
If node Is Nothing Then Throw New Exception(className & "." & functionName & ": failed to obtain import node.")
node.setXMLApplicationName("Ignore")
node.setDocbaseObjectType(docType)
If Not opImport.execute() Then
list2 = opImport.getErrors
i = 0
While i < list2.getCount
err = list2.get(i)
message = message & err.getMessage() & vbCrLf
i = i + 1
End While
Throw New Exception(className & "." & functionName & ": error executing import operation(" & message & ")")
End If
How can I rewrite these 2 statements(in red color) in DFS? Is there any DataObject.Properties or method to assign these 2 values?
Thanks in advance.
Carson.