Skip to main content
January 11, 2018
Solved

Donwload representation files

  • January 11, 2018
  • 2 replies
  • 4953 views

Hello everyone, I have to build a Custom App in PTC Navigate 1.5.2 that can download Windchill representable files (ex pvz, pvs).

I already have a Java class that query Windchill and extract representation download URL; now I wondering if it is possible use some service already defined in Navigate or I must write a my own extension.

 

Another question is how i can develop a Thingworx extension that can use the Windchill API.

 

Thank you Giorgio

Best answer by smainente

You can use the ExecuteTask service on the (legacy) WindchillConnector to invoke a custom I*E tasks on the Windchill system (directly call your custom Java code from the custom I*E task). This service may become deprecated at some point and a custom Windchill REST Service is the way to go in the long run.

You can also test the GetCreoViewData service on the WindchillConnector, it may directly return the Representation URL.

2 replies

15-Moonstone
January 11, 2018

This should be doable using REST APIs in Windchill REST Services 1.0  take a look here https://support.ptc.com/WCMS/files/173713/en/WCCG_RESTAPI.pdf for more info

January 12, 2018

thank you Marek, surely RestApi is the solution now i'm going to investigate if is it possible to customize a RESTfull call

smainente16-PearlAnswer
16-Pearl
January 11, 2018

You can use the ExecuteTask service on the (legacy) WindchillConnector to invoke a custom I*E tasks on the Windchill system (directly call your custom Java code from the custom I*E task). This service may become deprecated at some point and a custom Windchill REST Service is the way to go in the long run.

You can also test the GetCreoViewData service on the WindchillConnector, it may directly return the Representation URL.

January 12, 2018

Thank you stephane, as i have just told to Marek i'm going to investigate if it is possible to customize te RESTfull call otheriwse i'll use the I*E task