Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Content Management (Extended ECM)
API, SDK, REST and Web Services
addurl?
USI__Technician_(USITech_(Delete)_2244804)
can anyone post an example of how to add a url using LL_CreateObjectEx?when I call the function, I'm getting an error: Error creating nodeit's probably the createInfo object. how do I set the values in that object? (exmples for the URL Ojbect subtype would be great!)thanks.
Find more posts tagged with
Comments
eLink User
Message from Sean M Alderman via eLinkI did this in a program not to log ago. Hope this helps (Java Lapi)-//Create a URL to the WS in the Submissionts Folder//Make LLValues needed.LLValue urlInfo = (new LLValue()).setAssocNotSet();LLValue createInfo = (new LLValue()).setAssocNotSet();LLValue request = (new LLValue()).setAssocNotSet();//Some int Constantsint objType = LAPI_DOCUMENTS.VERSIONOBJECTTYPE;int objSubType = LAPI_DOCUMENTS.URLSUBTYPE;//The actual URLString targetURL = new String("https://" + llHost + "/livelink/livelink?func=ll&objId=" + userID + "objAction=browse&sort=name");//The URL Object's NameString urlName = new String(user.getContactInfo() + " Proposal Submission Area");//CommentString urlComment = new String("Proposal Submission Area for " + user.getContactInfo());//Make the request Assoc and stick it into createInfoint size = 0;size = request.add("TargetURL", targetURL);size = request.add("Comment", urlComment);size = createInfo.add("request",request);//Add the object.result = admDocs.CreateObjectEx(volID, folderID, objType, objSubType, urlName, createInfo, urlInfo);On Mon, 2002-07-29 at 11:38, eLink Discussion: LAPI Discussion wrote:> addurl?> Posted by USITech on 07/29/2002 11:35 AM> > can anyone post an example of how to add a url using LL_CreateObjectEx?> > when I call the function, I'm getting an error: > Error creating node> > it's probably the createInfo object. how do I set the values in that object? (exmples for the URL Ojbect subtype would be great!)> > thanks.> > [To reply to this thread, use your normal e-mail reply function.]> > ============================================================> > Discussion: LAPI Discussion>
https://knowledge.opentext.com/knowledge/livelink.exe?func=ll&objId=765428&objAction=view>
; > Livelink Server:>
https://knowledge.opentext.com/knowledge/livelink.exe>
; > -- Sean M. AldermanITRACK Systems AnalystPACE/NCI - NASA Glenn Research Center(216) 433-2795Calling a windowed operating system "Windows" is like naming anautomobile "Wheels."
USI__Technician_(USITech_(Delete)_2244804)
does anyone know what the corresponding function for Add is in VB?
USI__Technician_(USITech_(Delete)_2244804)
i found the vb function.is it possible to make the object catalag instead of list?
eLink User
Message from Sean M Alderman via eLinkMy understanding from a support call I made is that the catalog field isnot editable via CreateObjEx or UpdateObjInfo. The field is accessibleand can be looked at, but it is not updateable.On Mon, 2002-07-29 at 12:33, eLink Discussion: LAPI Discussion wrote:> i found the vb function.> Posted by USITech on 07/29/2002 12:29 PM> > i found the vb function.> > is it possible to make the object catalag instead of list?> > > > [To reply to this thread, use your normal e-mail reply function.]> > ============================================================> > Topic: addurl?>
https://knowledge.opentext.com/knowledge/livelink.exe?func=ll&objId=2804464&objAction=view>
; > Discussion: LAPI Discussion>
https://knowledge.opentext.com/knowledge/livelink.exe?func=ll&objId=765428&objAction=view>
; > Livelink Server:>
https://knowledge.opentext.com/knowledge/livelink.exe>
; > -- Sean M. AldermanITRACK Systems AnalystPACE/NCI - NASA Glenn Research Center(216) 433-2795Calling a windowed operating system "Windows" is like naming anautomobile "Wheels."