Skip to main content
10-Marble
September 12, 2024
Question

How to add file properties for PDF representation created from office worker

  • September 12, 2024
  • 3 replies
  • 1474 views

Version: Windchill 12.0

 

Use Case: Document with docx file as primary content is released Result: PDF representation created.


Description:

PDF representation is created using office worker using AEM (Adobe Experience Manager).

Cover page and water mark is created without any issues.

 

Problem statement:

How to add custom file properties to PDF created through AEM?

Refer attached image.

 

Note: In similar line there is a need to add file properties for PDF created for CAD drawings from CAD workers.

3 replies

avillanueva
23-Emerald I
23-Emerald I
September 12, 2024

This article says that its not possible:

https://www.ptc.com/en/support/article/CS426417?source=search

You might have to customize and post process the file if you really need it.

jbailey
18-Opal
September 19, 2024

I would also add that you should be careful not to extend the use of AEM beyond what PTC has licensed it for. There are a lot of AEM capabilities that are not part of what PTC paid Adobe to include it in their tools...

HelesicPetr
22-Sapphire II
22-Sapphire II
September 20, 2024

Hi @jbailey 

You right.

Also If you write own code with existing API (that is not part of AEM) to manipulate the PDF file then you could be able to add the file properties couldn't you? 

PetrH

10-Marble
January 6, 2025

@d_graham We can view PDF document custom properties in Adobe reader.

We are using Open PDF library available in Windchill installation to add custom properties.

Adding custom properties is working fine.

 

As of now, we are facing issue during download.

Issue is very specific to PDF file.

For Microsoft files we are using POI library. which is working fine.

10-Marble
January 5, 2025

Refer below topic in PTC help center.

Customizing Encryption Filter for Content Download

 

Trying to leverage this to add file properties (instead of encryption) and download the content file.

This will help to add file properties for primary, and secondary contents as well before download.

Adding file properties for Microsoft documents is working.

However, as of now facing problem in PDF file.