Skip to main content
12-Amethyst
Dec 30, 2025 5:04 PM UTC
Solved

Copy a file from a ThingWorx FileRepositoryThing to a Windchill Product subfolder

Looking to create a service that will copy/move a file from a ThingWorx FileRepositoryThing to a Windchill Product subfolder. This is to be triggered by a service call from a ThingWorx mashup. Where I have seen information is for creating a file related to primary content for a task. This would be in a subfolder under a product. 

CharlesJiAnswer
Support
Feb 4, 2026 9:06 AM UTC

Hi @GB_10984907 

 

Thanks for the reply.

 

You might want to check the Windchill section of the forum to see if there’s any helpful information. ThingWorx basically works as a REST API client, so it can send data to any REST endpoint Windchill exposes. Once we figure out which endpoint supports this function, we can just call it using ContentLoaderFunctions.

4 replies

Support
Jan 9, 2026 3:10 AM UTC

Hi @GB_10984907,

You can check the solution for a similar question here:

Solved: Automatically Transfer Documents from ThingWorx to... - PTC Community

Translate
12-Amethyst
Jan 22, 2026 11:01 PM UTC

I am looking to move the files from ThingWorx DocumentRepository to Windchill product subfolder/subfolder programmatically.

 

Example: Products/Division1/Item1234/Contracts

 

"Division1" has a Container ID: OR:wt.pdmlink.PDMLinkProduct:222222222. "Item1234" and "Contracts" appear unreachable. I have found a way to get the SubFolderID for both "Item1234" and "Contracts" but have not been able to retrieve the contents or figure out how to send files to "Contracts" or and other folders under "Item1234". 

Translate
CharlesJiCommunity ManagerAnswer
Support
Feb 4, 2026 9:06 AM UTC

Hi @GB_10984907 

 

Thanks for the reply.

 

You might want to check the Windchill section of the forum to see if there’s any helpful information. ThingWorx basically works as a REST API client, so it can send data to any REST endpoint Windchill exposes. Once we figure out which endpoint supports this function, we can just call it using ContentLoaderFunctions.

Translate