Skip to main content
12-Amethyst
December 30, 2025
Solved

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

  • December 30, 2025
  • 1 reply
  • 133 views

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. 

Best answer by CharlesJi

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.

1 reply

16-Pearl
January 9, 2026

Hi @GB_10984907,

You can check the solution for a similar question here:

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

12-Amethyst
January 22, 2026

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". 

CharlesJi16-PearlAnswer
16-Pearl
February 4, 2026

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.