Hello
I am trying to insert a file using VBA into documentum content server.
I cant find any documentation or example explaining how to do that.
Actually my code is like that:
Dim cx As DfClientX
Dim client As IDfClient
Dim session As IDfSession
Dim li As IDfLoginInfo
Dim newDoc As IDfPersistentObject
Set cx = New DfClientX
Set client = cx.getLocalClient
Set li = cx.getLoginInfo
li.setUser ("barthur")
li.setPassword ("barthur")
Set session = client.newSession("documentum", li)
Set newDoc = session.newObject("dm_document")
newDoc.setString "Name", "atrvalue" => In that line, an exception is thrown saying that Name is not a valid attribute
newDoc.Save
1 - What I am missing?
2 - How can I say that newDoc will be a file?
3 - Is there any place where I can find documentation about using Documentum with VBA?
Thanks
regards