Skip to main content
4-Participant
March 21, 2024
Question

Use AEM to create PDF content for WTDocument subtype

  • March 21, 2024
  • 0 replies
  • 462 views

Hello,

We've been using AEM to generate the cover page of WTDocuments for Windchill 12.0_2_7, as per typical usage.

While trying to keep the customization at a minimum, we're trying to modify the configuration files (xconf, java, and tpl) to create the Primary Content for a newly created WTDocument custom subtype. I have two questions on the subject:

1. I see in the template.properties.xconf that it is possible to define that generators and templates are used based on the document type (for example com.ptc.coversheet.DOCX.template), but is it possible to define a "hook" based on the document type?

2. Will the cover page algorithm even trigger if the new WTDocument has no content when created? 

 

Let me know if there's anything I can clarify!