Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X
Step 1
Make users list and save as .csv file under the directory of %WT_HOME%/src/loadFiles/
File name: users.csv
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
#User,user,newUser,webServerID,fullName,LastName,Locale,Email,Description,Title,Organization,Street1,Street2,City,State,Country,ZipCode,ignore,password
User,, james , james ,James,, EN, james@apple.com ,,,Apple,,,,,,,x,p@ssw0rd
User,, trump , trump ,Trump,, EN, trump@apple.com ,,,Apple,,,,,,,x,donald2016
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Step 2
Change csv to xml. Execute the following command on Windchill Shell:
windchill wt.load.util.CSV2XML -input users.csv
Step 3
Load xml to Windchill. Execute the following command on Windchill Shell:
Windchill wt.load.LoadFromFile -d <Directory Location> -CONT_PATH /wt.inf.container.OrgContainer=<Organization Name> -u <User Name> -p <Password>
Example:
Windchill wt.load.LoadFromFile -d %WT_HOME%/src/loadFiles/users.xml -CONT_PATH /wt.inf.container.OrgContainer=Apple -u orgadmin -p orgadmin
Please feel free to contact me if you have any questions or comments.