Thanks. I was missing this line:
If (status = LL_OK) Then
status = LL_ValueSetAssoc(catID)
End If
I had the LL_ValueAlloc(catID) line, but not the one above. Incidently, I checked the SQL data based on the queries you referenced and it matched the info I had. So, right-clicking within...
I'm stuck at this point. The entire function is listed below. I get no error at CreateObjectEx, but no doc is created. If I remark out these lines (just before the call to CreateObjectEx)
status = LL_AssocSetInteger(createInfo, "request", cRequest)
status = LL_AssocSetInteger(createInfo...
I checked the SQL table: LLAttribData and the DefID field yields the same value as when I right-click on the category. Is this the correct table? If not, how else can I check for this ID?
Is there a GUEST account to get to the Livelink knowledge base? I can't get access.
Thanks,
PSMELLO
I get the above error at the following line in the code below (entire function listed below):
If (status = LL_OK) Then
status = LL_AssocSetInteger(catID, "ID", g_lngDocDateID)
End If
I'm getting the g_lngDocDateID from an INI file when the app loads. This is the objectID of...
To AppNair:
Could you please resend me the email with the Java code to add a doc with a category? I lost all saved emails recently.
Many thanks,
psmello
I'm trying to write the value of a custom required attribute called Document Date which is in the standard date format (Month field, day field, year field). I tested this manually to see that the attribute is required.
I am trying to programatically add a document and populate this attribute...
Thanks. I've tried the app on several machines and against two different Livelink server. In all cases, Windows hoses the app. No error is returned from the LAPI. I've used the LAPI with port 2099, and HTTPS with both the ISAPI DLL and LIVELINK.EXE via port 80. Could this be a LAPI DLL...
I get an error each time I use the AddDocument function in the LAPI. The error is a memory error on one machine and the app just bombs with no error on another machine. I've tried different files (TXT & TIFF), but the same error occurs. The doc does get created, but not without the error...
I'm trying to write a VB app that scans a folder in the Enterprise workspace and returns the Name and ID of each folder it finds. The app hangs on this line:
LL_ListObjects session, ParentId, parentVol, vbNullString, vbNullString, LL_PERM_SEE, lngChildren
All vars are declared and...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.