Bulk Loading WTDocuments Into Windchill
Bulk Loading WTDocuments Into Windchill
Windchill
(Screen captures from Windchill 10.1 M040)
Note: All for WTDocument Type (includes MS Word, Autocad, pdf, etc.)
1
This applies for Documents and Parts Lifecycle
Note: Other columns are required but are hidden – see next slide.
2
1. Ensure that all required columns are included and are filled in as shown.
2. Save as .csv format in \src\loadfiles folder as shown on Windchill server.
Note: If there is only one file, need to put values in XML file only
else If there are more than one file, need to put values in CSV file
Some Names need to have commas. But – Commas interfere with the CSV to XML conversion. If any
Names have commas, do this:
– Temporarily replace , in the CSV file with !!!
– After converting, replace !!! in the xml file with ,
4
Note: All done in Windchill server
From a Windchill shell on the \src\loadfiles folder, run the command
shown.
• cd src\loadfiles
• Result: Output .xml file with converted info from Input .csv file in the same folder
Note: We can change this file name: TestBulkUpload.csv to any file name. 5
Mapping – Input .csv to Output .xml
.csv
.xml
6
1. Load the .xml file using same Shell, using command shown.
Change <YOUR_LIBRARY> to a specific Library
Load file to Library specified
Enter admin username and password
7
Successful Results