×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

XMLExport & XMLImport

How will you do XMLExport & XMLImport on Livelink Objects by appnair
Posted: 29 Jul 03 (Edited 29 Jul 03)

Step One:Run the URL as below
http://localhost/Livelink/livelink.exe?func=ll&objID=28488&objAction=XMLExport&scope=base&attributeinfo&nodeinfo&versioninfo=all&content=base64

objID=24888 is a folder in my enterprise workspace
all others re parameters that the XMLExport will take.Any user can do livelink XMLExport.This will probably result in a xml file which I saved as empty.xml in the livelink root
which in my case is
c:\opentext\empty.xml

**************************************************
<?xml version="1.0" encoding="ISO-8859-1"?>
<livelink applanguage='USA' appversion='9.1.0' dtdversion='1.2'>
  <llnode created='2003-07-29T09:00:32' createdby='1000' createdbyname='Admin' id='28488' modified='2003-07-29T09:00:32' name='New Folder' objname='Folder' objtype='0' ownedby='1000' ownedbyname='Admin' parentid='2000' size='0'>
    <category defid='28487' name='Folder Category' versionid='1'>
      <attributeset attid='1' name='Folder Category'>
        <attribute attid='2' name='Default' type='-1'>This 1</attribute>
      </attributeset>
    </category>
    <node cacheexpiration='0' catalog='0' childcount='0' createdate='2003-07-29T09:00:32' createdby='1000' groupid='1001' groupperm='36995' id='28488' maxversion='-1' modifydate='2003-07-29T09:00:32' name='New Folder' originalid='0' originalvolid='0' parentid='2000' reserved='0' reservedby='0' subtype='0' systemperm='16777215' userid='1000' userperm='16777215' versionnum='0' volumeid='-2000' worldperm='36995'>
      <permission>
        <acl create='true' delete='true' deletever='true' editattr='true' editperm='true' modify='true' name='Admin' permissions='16777215' permtype='1' reserve='true' rightid='1000' rightname='Admin' righttype='0' see='true' seecontent='true'/>
        <acl create='false' delete='false' deletever='false' editattr='false' editperm='false' modify='false' name='DefaultGroup' permissions='36995' permtype='2' reserve='false' rightid='1001' rightname='DefaultGroup' righttype='1' see='true' seecontent='true'/>
        <acl create='false' delete='false' deletever='false' editattr='false' editperm='false' modify='false' name='Public Access' permissions='36995' permtype='3' reserve='false' rightid='-1' rightname='Public Access' righttype='1' see='true' seecontent='true'/>
      </permission>
    </node>
  </llnode>
</livelink>
********************************************************
Step 2:If you did not see any errors go ahead and delete the folder in the above example and try this XMLImport
Change the name attribute of the node element to something different like name='Changed Folder' and run this.YOU HAVE TO BE ADMIN USER NOW

http://localhost/Livelink/livelink.exe?func=admin.XMLImport&filename=empty.xml&objID=2000

empty.xml is file you created in first step and objID=2000 is my enterprise folder.

Voila you should see the Changed Folder in your enterprise

If there are error they are under
C:\OPENTEXT\logs\XmlImport_<nn>.log



I encourage all you to play with other objects and publish your experience.I'm new to xmlexport/import hence excited.


Back to Open Text: Livelink FAQ Index
Back to Open Text: Livelink Forum

My Archive

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close