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
Hiding livelink documents
Pfizer_Developers
Hi Everyone,I have the following requirement :1.0) To Hide all the documents from any user in livelink...Can sbdy tell me how to get this requirement done ? Using LAPI or SQL..Some pointers would be appreciated.Thank you,bk
Find more posts tagged with
Comments
eLink User
Message from Nair, Krishnankutty via eLinkAre you after the "Hidden" object setting which is from aConfigure items page.To see the flag that livelink uses create an objectand note its dataidThen run the query likeSelect * from dtree where dataid=Now invoke the configure link in the GUIAnd make it hiddenRun the query again and you should be able to See what column holds the change.Now really all this is moving it from a users view,if they havepermissions on the object and know how to get it they can definitelyget to it.If you are really after confidentiality stuff you probably should not beusing this,this is more likeWork In Process keeping kind.-----Original Message-----From: eLink Discussion: LAPI Discussion[mailto:lapi@elinkkc.opentext.com] Sent: Monday, August 13, 2007 11:13 AMTo: eLink RecipientSubject: Hiding livelink documentsHiding livelink documentsPosted by Developers, Pfizer on 08/13/2007 12:10 PMHi Everyone,I have the following requirement :1.0) To Hide all the documents from any user in livelink...Can sbdy tell me how to get this requirement done ? Using LAPI orSQL..Some pointers would be appreciated.Thank you,bk[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.-----------------------------------------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.
Pfizer_Developers
Hi Nair,Thank you for the reply.What i am looking for is setting the object acl permission to none for all the non admin users.Do you have any LAPI code snippets to do it ?The steps that i have on in my mind is as follows :1) Take parent id from the user, and use sql to collect all the dataid for the given parentid.2) Create LAPI_DOCUMENTS using Java for each dataId and call some permission method on each and update its permission.Thank you,Karthik
eLink User
Message from Nair, Krishnankutty via eLinkYou don't need sql to do it once you have the parentid if you doalapi.listobjects it willTraverse the first level and if you want to expend the list you willhave to recursively walk the tree.Your second one is spot on .Look in communities or this KB because lapiuses some bitwise "magic" on thePermissions so it may take a little getting used to.What I think you areafter is to remove the ACL entries for each object under a folder andgive access to Admin user.If you use the permissions pusher from the livelink GUI wouldn't that dowithout you coding as well? -----Original Message-----From: eLink Discussion: LAPI Discussion[mailto:lapi@elinkkc.opentext.com] Sent: Monday, August 13, 2007 2:58 PMTo: eLink RecipientSubject: Using Sql with Java LAPI to update permissions ?Using Sql with Java LAPI to update permissions ?Posted by Developers, Pfizer on 08/13/2007 03:55 PMHi Nair,Thank you for the reply.What i am looking for is setting the object acl permission to none forall the non admin users.Do you have any LAPI code snippets to do it ?The steps that i have on in my mind is as follows :1) Take parent id from the user, and use sql to collect all the dataidfor the given parentid.2) Create LAPI_DOCUMENTS using Java for each dataId and call somepermission method on each and update its permission.Thank you,Karthik[To reply to this thread, use your normal E-mail reply function.]============================================================Topic: Hiding livelink documents
https://knowledge.opentext.com/knowledge/llisapi.dll/open/12717110Discussion
: 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.-----------------------------------------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.
Pfizer_Developers
Hi Nair,Thank you for the reply. I willl use listObjects as you had mentioned. With the 2 part, yes i am indeed checking out the code snippets in the KB..and yes you got my complete requirement..But I dont understand how to do this piece ..that you had mentioned..what is permissions pusher..?Thank you
Nair_Krishnankutty_(nairkrishnankutty_-_(deleted))
Changing permissions on a folder and all objects under it is a sytem admin chore and if you talk /get your SA they will show you how to add/delete users/groups apply to subitems .Maybe if I was not too keen on coding this(the fact being I administer livelink systems as well) I would open the javascript:listacls_OpenApplyDownWindow()(small pad lock icon on the permissions functionality of livelink and do it from the GUI.There is a choice for you to say "Clear Existing Access Lists of Sub-Items" this would clean up all the object acl's and then I would Add 'Admin' (no need to add this guy he has permissions anyway).So please talk to your Sys Administrator and see if all you need for your project is a simple permissions update chore.
Pfizer_Developers
Thank you Nair, I shall work on the same