API for Check Out and download action in windchill PDMLink 11.1 M020
Hi,
I design desktop application using java. Need to download files from server using onclick button function
I need java API for checkout and download action in windchill.
Hi,
I design desktop application using java. Need to download files from server using onclick button function
I need java API for checkout and download action in windchill.
Hi
I am not sure if the API can help you because you need to start communication with Windchill over HTTP Server with credentials.
I usually write own java function in the Windchill that is called by HTTP Request and a result is returned by HTTP Response. It can be file 😄
// for checkout object you can use follwoing API
Folder folder = WorkInProgressHelper.service.getCheckoutFolder();
CheckoutLink checkLink = WorkInProgressHelper.service.checkout(workableObject, folder, "checkout By Code");
Workable objectCheckOutCopy = checkLink.getWorkingCopy();
Or another option exists, use the Windchill REST API.
PetrH
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.