Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Content Management (Extended ECM)
API, SDK, REST and Web Services
Can you see what's wrong with the call to ApplyQuery ?
Groupe_gCont_(daniel.emond@dmr.ca_(Delete)_2243290
Hi. The following code throws an error "Cannot fetch results". Can someone tell me what I'm doing wrong :Dim lList As LongDim lListOut As LongDim lCount As Longsession.ExecuteLAPI LL_ValueAlloc(lList) session.ExecuteLAPI LL_ValueSetList(lList) session.ExecuteLAPI LL_ValueSetLength(lList, 1) session.ExecuteLAPI LL_ListSetString(lList, 0, "OTObject") session.ExecuteLAPI LL_ValueAlloc(lListOut) session.ExecuteLAPI LL_ValueSetList(lListOut) session.ExecuteLAPI LL_ApplyQuery(session.SessionID, -2000, lList, "(OTSubType : 202)", _ LL_SORTBYNOTHING, 0, 0, 100, "LivelinkQueryLanguage", lListOut) session.ExecuteLAPI LL_ValueGetLength(lListOut, lCount) MsgBox lCount session.ExecuteLAPI LL_ValueFree(lList) session.ExecuteLAPI LL_ValueFree(lListOut)
Find more posts tagged with
Comments
There are no comments yet