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!

Object Importer Location xml

Status
Not open for further replies.

Jarond

MIS
Jun 11, 2010
3
US
I was wondering if it was possible instead of having to write the full path to an object in LiveLink will it allow you to input the LL_Record_ID (unique 6 digit number) for each object instead? I have to update hundreds of categories and would rather not write out the entire path each time if at all possible

ex: will it allow
<location>LL_record_id</location>
instead of
<location>fullpath:tedious</location>

or is there some other way to do it?
 
As I understand you do not like the way that OI figures out the path hierarchy
Like Enterprise:colon colon-------------:2000 characters later:really myfolder

That unfortunately is not possible out of the box.However you are looking at this from a single livelink instance where you know the Objid of the object and you immediate task at hand.OI was not written for category updation.It was designed to move things form one livelink to another,another system like Documentum to livelink and so on.So you can imagine why they stayed out of dataids(dataid's in livelink are unique only in that livelink,a 1234 dtaid in my livelink and your livelink will be totally different).The category updates came after the original product

You can look at oscript module of OI and extend it for your own benefit or you can use LAPI,Webservices or Oscript or even webreports to locate the objid by what you want and provide the updates.

BTW usually people doing these things put a UDF or function in the database so that this longs string can be obtained from a query and use some kind of transformation to generate the OI file.

I have used these kind select dtree.dataid,getLLPath(dataid) from dtree where dataid=3000
The getLlPath is a function or stored proc that you write and it will give you the path in one shot.




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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top