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
Set Group leader in lapi
Mahesh_Pinnamaneni
hi all,I created a lapi prgm which will make the user/grp as group lead.here is the sample code...LLValue vchild = (new LLValue()).setAssocNotSet(); tgtUser.GetGroupInfo(LAPI_USERS.GROUP, grpName,vchild);grpLLV.setString("LEADERID",1220);tgtUser.UpdateGroupInfoEx(LAPI_USERS.GROUP, "LL4C_"+grpName,grpLLV,vchildtmp,vchildtmp,vchildtmp);even i use the above updategroupinfo, it is not setting the passed user/grp as grp leader.I created the session using Admin.any ideas?thanks,mahesh
Find more posts tagged with
Comments
eLink User
Message from Nair, Krishnankutty via eLinkFunction prototype is for Integer,I think...if IsFeature(.fInArgs.Attributes, 'LeaderID' ) // Do not Xlate if ( ._Attr( 'LeaderID',IntegerType ) ) // Do not Xlate newLeaderID =..fInArgs.Attributes.LeaderID -----Original Message-----From: eLink Discussion: LAPI Discussion[mailto:lapi@elinkkc.opentext.com] Sent: Monday, May 14, 2007 11:13 AMTo: eLink RecipientSubject: Set Group leader in lapiSet Group leader in lapiPosted by Pinnamaneni, Mahesh on 05/14/2007 12:10 PMhi all,I created a lapi prgm which will make the user/grp as group lead.here is the sample code...LLValue vchild = (new LLValue()).setAssocNotSet();tgtUser.GetGroupInfo(LAPI_USERS.GROUP, grpName,vchild);grpLLV.setString("LEADERID",1220);tgtUser.UpdateGroupInfoEx(LAPI_USERS.GROUP,"LL4C_"+grpName,grpLLV,vchildtmp,vchildtmp,vchildtmp);even i use the above updategroupinfo, it is not setting the passeduser/grp as grp leader.I created the session using Admin.any ideas?thanks,mahesh [To reply to this thread, use your normal E-mail reply function.]============================================================Discussion: LAPI Discussion
https://knowledge.opentext.com/knowledge/llisapi.dll/open/765428Livelink
Server:
https://knowledge.opentext.com/knowledge/llisapi.dllTo
Unsubscribe from this Discussion, send an e-mail tounsubscribe.lapi@elinkkc.opentext.com.-----------------------------------------*Please note my E-Mail Address has changed. Please update yourcontact list*Anadarko Confidentiality Notice: This electronic transmission and any attached documents or otherwritings are intended only for the person or entity to which it isaddressed and may contain information that is privileged,confidential or otherwise protected from disclosure. If you havereceived this communication in error, please immediately notifysender by return e-mail and destroy the communication. Anydisclosure, copying, distribution or the taking of any actionconcerning the contents of this communication or any attachments byanyone other than the named recipient is strictly prohibited.