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!

Download Folders, Subfolders and documents from Livelink to Local

Status
Not open for further replies.

Susan2068

Programmer
Jul 22, 2016
16
IN
Hi,

I need to download selected folders, subfolders and documents from Livelink to my Local machine. Is it possible to do the same using any OpenText API in a single method call without iteration as there could be 1000s of documents involved in the download. My programming language is Java. Please suggest.
 
There is not a ready made API that says here's the start Node ,now give me all its children conveniently,you have to write it or buy a finished product that does it.
Use of Enterprise Connect SDK,Webdav etc are low cost non programming options.An OOB advanced option is to construct a)a search query that encompasses files,folders etc b) add them into a 'Collection' and c)if properly configured these can be burnt to disk with a manifest "Make Disk Image" of collections.Most organizations never configure this because they don't spend any time trying to understand what the 'Admin' server in livelink is all about.

LAPI,Oscript ,SOAP and REST can be used to do this.
Object Exporter can do this but a word/excel document may look like a technical file name.

the link points to using LAPI code and a Oracle query to download files and folders
LAPI is dead nobody uses it but you can atleast see my oracle query on a possible implementation...


There's a huge tutorial called the "Tree Application" in SOAP that contains a lot of reusable code.OT expects you to study those or refer to javadocs and a lot of patience.

After I wrote this I looked at the code link I posted and it does not iterate you might be able to say

select * from DTreeAncestors where AncestorID=<where you want it to start>
then for each DataID you can write a download if it is a document or a folder if it is that
recursively should be very easy rather than using fully SOAP or REST methods....

Also pay special attention to *chunked methods in the new API's,that just means continue until there
is no more work(almost like a node crawler in oscript)

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
 
Hi Appnair,

Thank You for your quick response. I will try the options provided by you and get back to you.

Thanks again,
Susan.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top