Community Tip - You can change your system assigned username to something more personal in your community settings. X
I am not a big, bulk loading person, but I found Customer Support article CS38296, to be very helpful if you ever need to do it.
1. Use a Text Editor to create a CSV file which uses the handlers beginCreateWTDocument, endCreateWTDocument and createContentFile
For example:
#BeginWTDocument,name,title,number,type,description,department,saveIn,teamTemplate,domain,lifecycletemplate,lifecyclestate,typedef,version,iteration,securityLabels
BeginWTDocument,<PRIMARY CONTENT NAME>,<WTDOCUMENT NAME>,<WTDOCUMENT NUMBER>,Document,<WTDOCUMENT DESCRIPTIOIN>,DESIGN,/Default,,,,INWORK,,A,1,
#EndWTDocument,primarycontenttype,path,format,contdesc,parentContainerPath,,,,,,,,,,
EndWTDocument,ApplicationData,<PRIMARY CONTENT FULL PATH>,,,,,,,,,,,,,
#ContentFile,user,path
ContentFile,,<ATTACHMENT FULL PATH>
#BeginWTDocument,name,title,number,type,description,department,saveIn,teamTemplate,domain,lifecycletemplate,lifecyclestate,typedef,version,iteration,securityLabels
BeginWTDocument,test.zip,test.zip,0000000001,Document,First test document description,DESIGN,/Default,,,,INWORK,,A,1,
#EndWTDocument,primarycontenttype,path,format,contdesc,parentContainerPath,,,,,,,,,,
EndWTDocument,ApplicationData,D:\test.zip,,,,,,,,,,,,,
#ContentFile,user,path
ContentFile,,D:\test.zip
BeginWTDocument,test2.zip,test2.zip,0000000002,Document,Second test document description,DESIGN,/Default,,,,INWORK,,A,1,
EndWTDocument,ApplicationData,D:\test2.zip,,,,,,,,,,,,,
ContentFile,,D:\test2.zip
BeginWTDocument,test3.zip,test3.zip,0000000003,Document,Third test document description,DESIGN,/Default,,,,INWORK,,A,1,
EndWTDocument,ApplicationData,D:\test3.zip,,,,,,,,,,,,,
ContentFile,,D:\test3.zip
2. Use the wt.load.util.CSV2XML utility to convert the CSV file to an XML file
Execute the following command from a Windchill Shell:
windchill wt.load.util.CSV2XML -root <CSV FILE DIRECTORY>
3. Use the wt.load.LoadFromFile utility to load the XML file
For example, to load the documents into a Product, execute the following command from a Windchill Shell:
windchill wt.load.LoadFromFile -d <XML FILE FULL PATH> -u <WINDCHILL USER ID> -p <WINDCHILL USER PASSWORD> -CONT_PATH \"/wt.inf.container.OrgContainer=<ORGANIZATION NAME>/wt.pdmlink.PDMLinkProduct=<PRODUCT NAME>\"