Skip to main content
1-Visitor
September 23, 2022
Solved

updating several specifications using a loader

  • September 23, 2022
  • 1 reply
  • 1832 views

We have the following need : uploading several hundreds documents related to parts, which are updates of existing documents. Is there a way to use a standard loader ?

 

Thanks

Best answer by jukka

If you leave version and iteration tags empty and the document exist in windchill LoadFromFile will create new document iteration (if exist 4.2 -> new is 4.3). Of course you need to know existing document number.. And if the document is new LoadFromFile will create new document which version is 1.1.

1 reply

HelesicPetr
22-Sapphire II
22-Sapphire II
September 23, 2022

Hi @L.Leprince 

Do the WTDocuments exist in a Windchill ? 

If not you can use a LoadFromFile function from a windchill shell where the input is in xml format.

This loader is not userfriendly but it is possible to use it.

 

You can find more information in the article cs355118 

 

very useful is a csvmapfile.txt in <wthome>\loadFiles\csvmapfile.txt

The file contains general methods what can be converted from csv to xml for loading and contains all parameters that should be defined as a input.. 

 

PetrH

1-Visitor
September 23, 2022

Hi @HelesicPetr ,

The WTDocuments already exist in Windchill.

Sometimes, we receive many documents which are identified as updates.

Can I still use the LoadFromFile loader ?

 

Thanks for your reply !

 

jukka10-MarbleAnswer
10-Marble
September 25, 2022

If you leave version and iteration tags empty and the document exist in windchill LoadFromFile will create new document iteration (if exist 4.2 -> new is 4.3). Of course you need to know existing document number.. And if the document is new LoadFromFile will create new document which version is 1.1.