trbldntyrd
Programmer
I am able to successfully upload a document in IE. However, it crashes in Firefox, giving me the "get(name) not implemented for this datatype" error when trying to add a document. The document uploads to the livelink directory, but if I try to open it, I get a "version not found" error. Also, when I enumerate through the files in my web app, "?" displays for type and file name. My code is very simple...
[blue]
LLValue objInfo = (new LLValue()).setAssoc();
LLValue versionInfo = (new LLValue()).setAssocNotSet();
utility.Status = utility.Documents.AddDocument(livelinkVolumeID, parentID, docName, filePath, objInfo, versionInfo);
[/blue]
It errors out on the last line. The first four parameters have valid values, but I'm not sure about objInfo and versionInfo as I don't know what kind of values to expect. I am new to LAPI programming and there isn't much documentation online to help me. What could possibly be wrong? Any help is much appreciated.
Thanks.
[blue]
LLValue objInfo = (new LLValue()).setAssoc();
LLValue versionInfo = (new LLValue()).setAssocNotSet();
utility.Status = utility.Documents.AddDocument(livelinkVolumeID, parentID, docName, filePath, objInfo, versionInfo);
[/blue]
It errors out on the last line. The first four parameters have valid values, but I'm not sure about objInfo and versionInfo as I don't know what kind of values to expect. I am new to LAPI programming and there isn't much documentation online to help me. What could possibly be wrong? Any help is much appreciated.
Thanks.