trbldntyrd
Programmer
I'm using C#.net. I have some very simple code that uploads a document from a user's system to a directory in Livelink. This works fine on my local as well as other developers' systems but not on the test server. Below is a snippet of my code, and it errors on the last line:
[tt]
string fileName = Path.GetFileName(fup.PostedFile.FileName);
string filePath = fup.PostedFile.FileName;
LLValue objInfo = (new LLValue()).setAssoc();
LLValue versionInfo = (new LLValue()).setAssocNotSet();
utility.Status = utility.Documents.AddDocument(livelinkVolumeID, parentID, fileName, filePath, objInfo, versionInfo);
[/tt]
And the error generated is this:
[COLOR=red yellow]
get(name) not implemented for this datatype
Exception Details: com.opentext.api.LLIllegalOperationException: get(name) not implemented for this datatype
[LLIllegalOperationException: get(name) not implemented for this datatype]
com.opentext.api.LLInstance.get(String name) +46
com.opentext.api.LLValue.toValue(String name) +12
com.opentext.api.LLConnect.unMarshall(String argName) +40
com.opentext.api.LAPI_DOCUMENTS.AddDocument(Int32 ParentVolumeID, Int32 ParentID, String Name, String FilePath, LLValue ObjInfo, LLValue VersionInfo) +134
[/color]
There is not much help available online for opentext/livelink, so this is my last resort. If anyone can please provide assistance, it would greatly be appreciated!
[tt]
string fileName = Path.GetFileName(fup.PostedFile.FileName);
string filePath = fup.PostedFile.FileName;
LLValue objInfo = (new LLValue()).setAssoc();
LLValue versionInfo = (new LLValue()).setAssocNotSet();
utility.Status = utility.Documents.AddDocument(livelinkVolumeID, parentID, fileName, filePath, objInfo, versionInfo);
[/tt]
And the error generated is this:
[COLOR=red yellow]
get(name) not implemented for this datatype
Exception Details: com.opentext.api.LLIllegalOperationException: get(name) not implemented for this datatype
[LLIllegalOperationException: get(name) not implemented for this datatype]
com.opentext.api.LLInstance.get(String name) +46
com.opentext.api.LLValue.toValue(String name) +12
com.opentext.api.LLConnect.unMarshall(String argName) +40
com.opentext.api.LAPI_DOCUMENTS.AddDocument(Int32 ParentVolumeID, Int32 ParentID, String Name, String FilePath, LLValue ObjInfo, LLValue VersionInfo) +134
[/color]
There is not much help available online for opentext/livelink, so this is my last resort. If anyone can please provide assistance, it would greatly be appreciated!