Start a topic
With the exception of Windchill, The PTC Community is on read-only status until April 6 in preparation for moving our community to a new platform. Learn more here
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. 

ACCEPTED SOLUTION

Accepted Solutions

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.

View solution in original post

4 REPLIES 4

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.

Hi @GB_10984907 ,

Could you please check if my last post answers your question?  For the benefit of other Community Members who may have the same question, it would be great if you could designate it as the Accepted Solution.

In the event that this response did not answer your question, please post your current status so that we can continue to support.

Thanks for using the PTC Community!

Regards,

Charles

Announcements


Top Tags