How to get internal pdftoolkit dependency to download pdf from AEM DAM? | Community
Skip to main content
Level 3
March 29, 2021
Solved

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

  • March 29, 2021
  • 1 reply
  • 1254 views

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-bar.html

 

AEM Version - 6.5.2

 

It would be great if you could help here.

 

Thanks,

Kiran

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by arunpatidar

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/

1 reply

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
March 30, 2021

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