Skip to main content
4-Participant
February 28, 2025
Question

How can I execute a custom function before publishing the document using a Styler stylesheet?

  • February 28, 2025
  • 2 replies
  • 664 views

We would like to perform some custom action (copying files from remote server) before the publishing action is performed from the "Publish" dialog box. Ho can we embed/ perform our custom actins before the publishing action takes place.

2 replies

Community Manager
March 11, 2025

Hi @PV_12583628,

Thank you for your question. 

Your post appears well documented but has not yet received any response. I am replying to raise awareness. Hopefully, another community member will be able to help.

Also, feel free to add any additional information you think might be relevant. It sometimes helps to have screenshots to better understand what you are trying to do. 

 

Regards,

Anurag 

18-Opal
March 18, 2025

You can use the composition framework hook for this. Define a function in ACL that does what you need to have happen, and attach it as a hook function. This is described in the help center:

https://support.ptc.com/help/arbortext/r8.2.3.0/en/#page/PE%2Fpeprog%2Fpe3102.html

https://support.ptc.com/help/arbortext/r8.2.3.0/en/index.html#page/Program/acl_ref/help22635.html