Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
HiSriram
There are two loader available for associating documents to part i.e. "Described By Documents" and "References Document "
<csvpartdocreference handler="wt.part.LoadPart.createPartDocReference">
<csvpartnumber>Box302</csvpartnumber>
<csvpartiteration></csvpartiteration>
<csvorganizationname></csvorganizationname>
</csvpartdocreference>
Check file \Windchill\loadFiles\pdmlink\demodata\SpatialFiltering\AssemblyPartWithAssociatedDocument.xml for sample
PartDocDescribes~create~wt.part.LoadPart.createPartDocDescribes~docNumber~docVersion~docIteration~partNumber~partVersion~partIteration~partView~partVariation1~partVariation2~organizationName~organizationID
<csvdocversion>A</csvdocversion>
<csvpartnumber>MTAR0002</csvpartnumber>
<csvpartiteration></csvpartiteration>
</csvpartdocdescribes>
Check file \Windchill\loadFiles\maturity_test\maturityTestDocs.xml for sample
Hope this helps !!!
Shreyas
Thanks Guys , but I feel that there is a complexity in defining XML for say I wanted to migrated 1Lakh Part-Doc Relationship.
I would suggest (If you are comfortable writing a java) to associate a Part-Doc via Loader . All you need to do is to buid the state table (DB) and run the loader .As for Ref Link you need to associate WTPart - Doc Master and for Desc Link you need to associate Part-Doc.
Regards,
Sriram Rammohan
Since above two are “OOTB” loader so you don’t need to prepare XML file. You can create csv file using MS excel (I feel that there isn’t a complexity in defining CSV file for 1Lakh )and then convert it to XML using “OOTB utility” XML2CSV(http://www.ptc.com/cs/help/windchill_hc/wc102_hc/index.jspx?id=WCDataLoad_UseCSV2XML_ConvertCSVFilesXMLFormat&action=show) .
Refer data loading guide (http://www.ptc.com/WCMS/files/156986/en/WCDataLoadGuide.pdf )for more details about loader
Thanks,
I agree with you but on a condition considering the scalability of the data. For a complex migration DB is prefered (index/hashmapping) as you cannot expect the performace (more of parsing) if the data size is huge. Using OOTB needs no need to engage Oracleguy / No DB CLient .
Sriram Rammohan