Skip to main content
17-Peridot
March 13, 2024
Solved

Loader - WT Parts

  • March 13, 2024
  • 1 reply
  • 2242 views

Hi Everyone,

 

I am looking for how to upload the data from local to the WT Part tab - reference document and described by document. I found for document Article - CS38296, but I can't find for WT Part.

Regards,

AJ

Best answer by avillanueva

Yes, that is the second link I sent you:

https://www.ptc.com/en/support/article/CS383191?source=search

You first run the load that creates the part. Then you create WTDocuments that store your text, Excel and Word documents files. Finally, you create the links from the Parts to the document objects. This will cause Parts to iterate as it adds each link.  Execution of this scripts typically is done from a Windchill shell on the server which means you will need to copy the files to load to the server so it can find them. I think it might be possible (but have never done this) to load remotely but these things are typically done by admins at the server level. 

 

Some tips. You're biggest source of errors will be object names and filenames. In the translation from CSV to XML, there are special characters that can trip things up. Watch out for this. Look out for any filenames that have weird name or special characters. By default, the loaded will fail when it detects a problem and works like a transaction, all or nothing. There are ways to change that but its not a bad idea to leave it the way it is. Basically, you will run it and if it detects a problem, you fix that and repeat until the next error. Sometimes that can be frustrating.

1 reply

avillanueva
23-Emerald I
23-Emerald I
March 13, 2024
17-Peridot
March 13, 2024

Thanks for the reply & sharing article @avillanueva 

 

I want to load the data locally.

 

For example, I have data like doc, excel, and txt in local. I want to upload that into WT Part through the loader it's possible.

 

Regards,

Aj

avillanueva
23-Emerald I
23-Emerald I
March 13, 2024

Oh, you want to load attachments directly to the WTPart? 

Did you enable this to be allowed?

https://www.ptc.com/en/support/article/CS191072?source=search