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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I copy LiveLink (LL) folder contents to another LL folder?

Status
Not open for further replies.

FoxSkulk

IS-IT--Management
Dec 28, 2006
2
US
How do I programmatically copy the folder contents of one LiveLink folder to another LiveLink folder?

We are trying to programmatically synchronize certain LiveLink folders. We want to copy the folder contents of one LiveLink folder to another LiveLink folder without changing either LiveLink folder’s Object IDs. The Object IDs of the folder contents can change.

Thanks!
 
If livelink is asked to make new objects (copy is one) it will always have a new object dataid.If you somehow want to retain the object id's the only way is a move command.A move command will not allow a ceratin object to have different parentid's.What are you trying to accomplish here.
can you be more clearer ?

If you are just aboout making redundant folders,why would not use a folder template object.



Well, if I called the wrong number, why did you answer the phone?
James Thurber, New Yorker cartoon caption, June 5, 1937
 
I guess if all you want to do is copy the contents of Folder A to Folder B at set intervals then this should be quite simple, you could either use LAPI to do the copy or create your own Livelink agent job that can be scheduled to do it for you.

Greg Griffiths
Livelink Certified Developer & ECM Global Star Champion 2005
 
Thanks for your help!! We have an environment where the livelink folders and their contents are displayed in a customized web page using the livelink API(XML Export). Our livelink has a play area (content staging) and a production area in the same box. The play area, is where the files would be moved in by a particular business content management team and only appropriate/reviewed files will be moved to the production area for the outside world to see. So we need to have a programmatic option for copying the files from the Play Area to the Production area without replacing the Production area folder's Object IDs. The productions Folders Object ID’s are mapped to the customized web page, so we want only the contents of the Play Area's folders to be moved to the Production folders.

Can you please point us to a link with API details?
 
In otherwords let's call your Production Folder Area
PFA and let's imagine it's folderID is 24342434.You have something that relies on that hard coded Id.Let's assume
you have a play area SA with folder ID 1231234.What you want accomplished is the children of SA periodically moved to PFA after your QC process ,Am I making sense here.Will documents moving from SA to PFA have the same object names,and do you want it versioned if such a situation exists

If you are on 9.5 SP1 I would ask you to take a look at the possibilities with the Item Handler.I think it might be pretty useful for you in this case.

Or using livelink API you could find the candidate files from your SA and move them under your PFA.Java and C# samples are vailable in KB.

Some others are available at greg griffiths site mostly done by me.I also have some samples at the communities.opentext.com web site under the lapi wiki.



Well, if I called the wrong number, why did you answer the phone?
James Thurber, New Yorker cartoon caption, June 5, 1937
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top