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

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

Translate the entire conversation x

Downloading and uploading primary, secondary content for attachments through Windchill REST API

MT_11904685
10-Marble

Downloading and uploading primary, secondary content for attachments through Windchill REST API

I would like to download primary contents and attatchemtns for WTDocument and place it some pre defined folder on server , on releasing document.

 

I would like to know what is the API to use to download attachments and primary content of document. Also if it is possible to build a JS hook to perform this action.

 

 

 

Thanks in Advance.

2 REPLIES 2

Look at the ContentHelper service. Yes, roll your own code but this is not too hard. This can be done in a workflow since you are releasing it.

Hi thank you for your time and response. I am quite new to Windchill so can you please elaborate it how i can customize a JS hook for this. I already did some customization for WTPart "described by" as I found clear instructions and script on this community platform. I would be thankful if I know where to learn about this customization.

Announcements

Top Tags