Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events
SOLVED

How to get internal pdftoolkit dependency to download pdf from AEM DAM?

Avatar

Level 3

I have a requirement to download pdf files using internal pdftoolkit from AEM DAM. I was unable to get the below dependency in my custom servlet. 

com.adobe.internal.pdftoolkit.pdf.document.PDFDocument

 I have used below reference blog

http://experience-aem.blogspot.com/2016/02/aem-61-add-save-as-pdf-button-to-assets-console-action-ba...

 

AEM Version - 6.5.2

 

It would be great if you could help here.

 

Thanks,

Kiran

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

As mentioned in the reference link, the jar is not available at adobe or maven repo, but available in AEM for run time support.

For compile support, you can add to your project maven repo or local repo from AEM.

 

 

check this if helps

https://aem6.wordpress.com/tag/maven/



Arun Patidar

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi,

As mentioned in the reference link, the jar is not available at adobe or maven repo, but available in AEM for run time support.

For compile support, you can add to your project maven repo or local repo from AEM.

 

 

check this if helps

https://aem6.wordpress.com/tag/maven/



Arun Patidar