Quantcast
Channel: PTC Community : Document List - All Communities
Viewing all articles
Browse latest Browse all 1247

How to load folders into Product Containter

$
0
0

Step 1

Make a folder list and save as .csv file under the directory of %WT_HOME%/src/loadFiles/

 

File name:  folder1.csv

-----------------------------------------------------------------------------------------------------------------

SubFolder,,/Default/Design

SubFolder,,/Default/Design/Camry104 : B6 5.5G ICP Dry Ahser  CONTROL PROGRAM,

SubFolder,,/Default/Design/Camry101,

SubFolder,,/Default/Design/Camry101/BASELINE,

SubFolder,,/Default/Design/Camry107 : SFA TRULY 4.5G PT CONTROL PROGRAM,

SubFolder,,/Default/Design/Camry105 : G5 Model Navigation CONTROL PROGRAM,

SubFolder,,/Default/Design/Camry103 : B4 Model Navigation CONTROL PROGRAM,

SubFolder,,/Default/Design/Camry100,

-----------------------------------------------------------------------------------------------------------------                 

 

 

Step 2

Change csv to xml. Execute the following command on Windchill Shell:

windchill wt.load.util.CSV2XML -input folder1.csv

 

Step 3


Load a folder list to a product container. Execute the following command on Windchill Shell:

 

Windchill wt.load.LoadFromFile -d <Directory Location> -CONT_PATH /wt.inf.container.OrgContainer=<Organization Name>/wt.pdmlink.PDMLinkProduct=<Product Name>/ -u <User Name> -p <Password>


Exmaple:

Windchill wt.load.LoadFromFile -d %WT_HOME%/src/loadFiles/folder1.xml -CONT_PATH /wt.inf.container.OrgContainer=Toyota/wt.pdmlink.PDMLinkProduct=Camry2016/ -u orgadmin -p orgadmin


Viewing all articles
Browse latest Browse all 1247

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>