Import Users Into Alfresco (.xml file)
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2009 09:08 AM
Hi all!
I'm using alfresco-labs-tomcat-3Stable on Linux.
I'm trying to import users through a xml file:
people.xml
I've already tried this (on Linux terminal console placed in /opt/alfresco/tomcat/webapps/alfresco/WEB-INF/):
Please help!! …
Thanks in advance…
João Duarte
I'm using alfresco-labs-tomcat-3Stable on Linux.
I'm trying to import users through a xml file:
people.xml
<?xml version="1.0" encoding="UTF-8"?><view:view xmlns:d="http://www.alfresco.org/model/dictionary/1.0" xmlns:cm="http://www.alfresco.org/model/content/1.0" xmlns:view="http://www.alfresco.org/view/repository/1.0"> <cm:person view:childName="cm:person"> <cm:userName>test01</cm:userName> <cm:firstName>firstNametest01</cm:firstName> <cm:lastName>lastNametest01</cm:lastName> <cm:middleName></cm:middleName> <cm:email>test01@somecompany.org</cm:email> </cm:person> <cm:person view:childName="cm:person"> <cm:userName>test02</cm:userName> <cm:firstName>firstNametest02</cm:firstName> <cm:lastName>lastNametest02</cm:lastName> <cm:middleName></cm:middleName> <cm:email>test02@somecompany.org</cm:email> </cm:person> </view:view>
I'm not sure where to run the import command and what is the correct command to import users.I've already tried this (on Linux terminal console placed in /opt/alfresco/tomcat/webapps/alfresco/WEB-INF/):
import -user admin -pwd adminpass -store workspace://SpacesStore -path /sys:system/sys:people people.xml
but i'm getting:import: unable to open X server `'.
Anyone with the same problem?! …Please help!! …
Thanks in advance…

João Duarte
Labels:
- Labels:
-
Archive
10 REPLIES 10

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2010 02:31 AM
So…
You need to import users both to user://alfrescoUserStore and the workspace://SpacesStore but the groups only to the user://alfrescoUserStore is that correct ?
You need to import users both to user://alfrescoUserStore and the workspace://SpacesStore but the groups only to the user://alfrescoUserStore is that correct ?
