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!

XMLImport does not preserve permissions

Status
Not open for further replies.

hanreb

Technical User
Jan 23, 2008
90
US
Hi,

I am using the XMl Export/import utility
I have exported a folder structure from one environment.The folder structure has permissions applied to it to different groups.

In the destination environment I have created the groups that I have in the source folder.
When I import the folder structure in the detination environment the permissions applied to the folders does not seem to be preserved in the destination folder.I see the group names in the .xml file. But don't see the group permissions applied to the folders in the detination environment.

What could be the problem.
How do I get the permission also copied.

I appreciate your help.

Thanks
-Sunu
 
Sunu,
a group in one livelink may have an id # 1234.When you export LL puts 1234 against all those objects.The same named group will have an id 5678 in target system.It should exist.The import will not create the group.So typically as an intermediate stage you export,you tweak the export file with textpad/notepad and make replacements and import it.

The same principle is used by migration utilities,it will ask for dest id's,target id's and will map them together.


If you have DirSvcs installed in both source and target then you can get the same queries to build you groups and users but the id's of one system may not necessarily match another system unless it is a clone of the database of one system.

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 and probably certfiable,Livelink ECM Champion 2008
 
Thank You Appnair. It worked after editing the rightid of the groups in the .xml file.

Do you think this can be achieved in some way thru LAPI, without editing the .xml file manually.

-Sunu
 
There are several tools which migrate data between Livelink systems. They all have some kind of "mapping" to tie a user/group/object in the source system to the same one in the destination system.

Causeway - - have a module called Project Import/Export which does this.

Greg Griffiths
Livelink Certified Developer & ECM Global Star Champion 2005 & 2006
 
Instead of lapi I would recommend just creating a view of kuaf on the source system and target system and write a small app that does this replacement (whatever you manually did).
I don't know too much about xml but you could even look at a style sheet that could do this translation.With lapi you may be forced to do the same thing only thing is if you don't see the groups that you need you could create the groups on the fly if the alapi account has user admin privs.

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 and probably certfiable,Livelink ECM Champion 2008
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top