Skip to main content
13-Aquamarine
May 12, 2014
Question

Bulk Loading WTDocument Soft Types

  • May 12, 2014
  • 5 replies
  • 1626 views
10.1 M040

Hi All,
Does anyone have an example CSV file that bulk loads a soft type of WTDocument?

Patrick Williams | Engineering Systems | c: 616.947.2110
[cid:image001.jpg@01CF6DEE.08ADDDD0]

5 replies

11-Garnet
May 12, 2014
Where is your Document soft types are exists now. Is it older WC version or another PLM system.

Ayyappan
13-Aquamarine
May 12, 2014
I'm not sure what your question is. I am bulk loading new documents without content at the moment. This is not a migration.

Patrick Williams | Engineering Systems | c: 616.947.2110
[cid:image002.jpg@01CF6DF7.C23C11A0]
11-Garnet
May 12, 2014
Sorry, misunderstood.
Got it now, you are looking for example csv file for loading Documents of Doc sub types.

Have you checked WCDataLoadGuide.pdf (Windchill Data Loading Reference and Best Practices Guide Windchill 10.1 M040 April 2013).
Also you can check here for example files <wc_home loadfiles=" pdmlink="> or <wc_home loadfiles=" generaldocs.csv=" and=" generaldocs.xml=">. These files doesn't have IBAs, but you can add and run the test.

Thanks
Ayyappan
1-Visitor
May 12, 2014
Hi Patrick,

I don't have a csv file but the attached xml example worked for me on 10.1 M040. The example creates a WRpart (soft type of a WTPart) and a WRDoc (soft type of a WTDocument) and attaches a PDF file as a primary content of the WRDoc. The WRdoc is then linked to the WRPart using the described by link. Make sure you have the PDF content on $Windir/loadfiles/content. Hope that helps.

Rey
May 13, 2014

OOTB there is utility available to convert xml files to csv. Below is the example


Shreyas