Skip to main content
1-Visitor
March 29, 2022
Question

define destination folder for pdf file created by worker

  • March 29, 2022
  • 2 replies
  • 1925 views

Hi All,

We have one folder "Released Drawings" which is been accessible by processing, manufacturing, supplier. It has Read & download access. We want the pdf drawing published by the worker to automatically dumped in Released Drawing folder.

What steps we may need to take.

Thank you in advance.

 

Regards,

Durga.

 

2 replies

13-Aquamarine
March 29, 2022

Hi

There is no functionality to export the result of a publish event to a folder. After publishing by the worker the files are stored back in Windchill. You need to write a Java program to export the contents of a viewable to a folder and run this program.You find plenty of examples on the knowledge base and on the web.

Durga1-VisitorAuthor
1-Visitor
March 29, 2022

Hi Berny,

Thanks for the prompt reply.

Tried searching for may be not punching the correct key words. Any references for these would be appreciated.

 

Regards,

Durga

13-Aquamarine
March 29, 2022
23-Emerald IV
March 29, 2022

@Durga wrote:

We want the pdf drawing published by the worker to automatically dumped in Released Drawing folder.


This knowledge base article provides sample code and instructions on how to do this exact thing:

https://www.ptc.com/en/support/article/CS348848

 

TomU_0-1648569051422.png