Hi Greg,
Simply use the short link for an “open”operation.
When the user authenticates after clickingthe link, we’ll do all the hard work of figuring out what the “open”link should be doing for that user.
i.e., nodeURL = Str.Format( “%1/open/%2”,config.URL, inNode.pID)
There’s no other simple way to do itwithout having an inArgs record from a web request.
Best regards,
_________________________________________Kyle SwidrovichPrincipal Search / SDK Product SpecialistLivelink Escalations Support TeamOpen Text Corporation275 Frank Tompa Dr.Waterloo, ON, CANADAPhone : +1-800-540-7292Online: http://support.opentext.com_________________________________________
From: eLinkDiscussion: Development Discussion [mailto:development@elinkkc.opentext.com] Sent: Thursday, December 11, 20088:09 AMTo: eLink RecipientSubject: Building a Default Linkinside a Call Back
Building a Default Link inside a Call Back
Posted by ggriffiths (Griffiths, Greg) on 12/11/2008 08:06 AM
Inside a CallBack I'm using the following code to generate the default link for a variety of subtypes and then that link is used as part of an email, the code seems to work for most subtypes excepts Documents - due to the variety of possible actions such as FETCH, VIEW etc for this type. Does anyone have a shorthand function to generate the links as I don't have all the objects available that I would have if this was a Browse Request Handler ? Dynamic config=$LLAgent.Utils.ConfigLoad( dapiCtx.fPrgCtx.USession().fDbConnect.fConnection, 100 )@ @ @ @ @ @ Object webNode=$WebNode.WebNodes.GetItem(inNode.pSubType) Object open=webNode.Cmd("open")@ @ @ @ @ @ @ @ String nodeURL // if not a document if (inNode.pSubType <> $TypeDocument) @ @ nodeURL=Str.Format("%1?%2",config.URL,Str.Format(open.fQueryString,inNode.pID)) @ @ // if a Document, then point at the General Properties page else @ @ nodeURL=Str.Format("%1?func=ll&objid=%2&objaction=properties",config.URL,inNode.pID) end