Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to retrieve deleted objectID using LAPI api

Status
Not open for further replies.

Mahi447

Programmer
Jan 12, 2018
16
US
How to retrieve all the objectID deleted from LiveLink using LAPI API in java
 
It depends on the deleted volume product . Most common is the Recycle Bin I think it’s subtype is 3030 if you find one deleted object and then print its parentID Subtype and OwnerID you have a great chance because all objects in the recycle bin will have the same ownerid

Do not just post your questions here and KB and just walk away it’s not proper etiquette. I will refrain from posting if you do not acknowledge if forum members posting is helping you or not helping you

Lapi listonjects will not work sometimes on negative do you can try substituting the positive or negative by trial and error if is easier to do things through dB queries rather than trying everything with lapi


Well, if I called the wrong number, why did you answer the phone?
James Thurber, New Yorker cartoon caption, June 5, 1937
Certified OT Developer,Livelink ECM Champion 2008,Livelink ECM Champion 2010
 
Thanks appnair for the response, i dont want to connect DB & run queries , i am looking for LAPI method which can retrieve the objectIDs from recycle bin.
 
Your pure LAPI option ListObjects
Examples of ListObjects written in 11
written in 2010



You will be using it understanding what I posted above using your own research on what kind of object is your deleted things

second option is to write a LR to return the DataIDs and work on it(which is what you are saying you do not like sql querying.thats funny because
all of these are maintained in livelink under the covers by a RDB,here you are in 2018 after 10 yrs the api has been deprecated,wanting to program in that :)





Well, if I called the wrong number, why did you answer the phone?
James Thurber, New Yorker cartoon caption, June 5, 1937
Certified OT Developer,Livelink ECM Champion 2008,Livelink ECM Champion 2010
 
Thanks appnair, will try first option & see how it goes.
 
@appnair
Is there a way to do search against the recycle bin instead of Dtree and get the list of deleted object id using LAPI api.?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top