Expand my Community achievements bar.

SOLVED

Edit PDF

Avatar

Level 1
Level 1

How do you edit a PDF file in CQ5 DAM where it can then be saved directly back into DAM?

1 Accepted Solution

Avatar

Correct answer by
Level 10

If you want to programmatically edit the PDF via an AEM custom service -- you can wrap the Apache PDF Box API in an OSGi bundle as well. That would give you the ability to customize AEM to expose a custom PDF service. See http://pdfbox.apache.org/. We have an example of wrapping an Excel Java lib in an OSGi:
http://scottsdigitalcommunity.blogspot.ca/2013/08/creating-custom-excel-service-for-adobe.html.
 

If course -- if you have LiveCycle ES -- you can combine CQ and AEM and programmatically modify the PDF to meet virtually any business needs. For example - you can policy protect the PDF. We have a community article that talks about using Adobe LiveCyle and Adobe CQ:

http://scottsdigitalcommunity.blogspot.ca/2012/07/integrating-livecycle-into-adobe-cq.html

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

If you want to programmatically edit the PDF via an AEM custom service -- you can wrap the Apache PDF Box API in an OSGi bundle as well. That would give you the ability to customize AEM to expose a custom PDF service. See http://pdfbox.apache.org/. We have an example of wrapping an Excel Java lib in an OSGi:
http://scottsdigitalcommunity.blogspot.ca/2013/08/creating-custom-excel-service-for-adobe.html.
 

If course -- if you have LiveCycle ES -- you can combine CQ and AEM and programmatically modify the PDF to meet virtually any business needs. For example - you can policy protect the PDF. We have a community article that talks about using Adobe LiveCyle and Adobe CQ:

http://scottsdigitalcommunity.blogspot.ca/2012/07/integrating-livecycle-into-adobe-cq.html

Avatar

Level 5

You can use webDav to do that (Any change doen on file through webdav is reflected in DAM). As far as property is concern you can edit property within dam admin. If your metadata writeback workflow (Through workflow console) is enabled then changes are reflected in actual file.

[1] http://dev.day.com/docs/en/crx/current/how_to/webdav_access.html

[2] http://dev.day.com/docs/en/cq/current/dam/how_to_edit_metadata.html

Yogesh