cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

ThingWorx Navigate is now Windchill Navigate Learn More

Translate the entire conversation x

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

GB_10984907
4-Participant

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. 

3 REPLIES 3

Hi @GB_10984907,

You can check the solution for a similar question here:

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

GB_10984907
4-Participant
(To:CharlesJi)

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

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.

Announcements


Top Tags