Getting client ID error when trying to extend pdf viewer core component in AEM 6.4 | Community
Skip to main content
Level 3
Aug 19, 2020 7:58 AM UTC
Solved

Getting client ID error when trying to extend pdf viewer core component in AEM 6.4

Hi Everyone,

 

I tried to extend pdfviewer core component into my project to view the pdf docs. I have downloaded core-wcm-components v 2.10.0 from github and installed in local server. I have created sling :config inside conf folder for Pdf viewer configuration which has the client id and report suite id.I also embedded the clientlibs into base clientlibs of my project.I am getting error

 


 
Updating Media

 

 

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
arunpatidar
arunpatidarAccepted solution
New Participant
Aug 19, 2020 3:49 PM UTC

Did you use this context aware configuration in the content tree https://sling.apache.org/documentation/bundles/context-aware-configuration/context-aware-configuration.html#contexts-and-configuration-references

 

e.g. /content/yourproj/home

 

Resolved the error. It was dependency issue. I changed the dependency for javax.json.JsonObjectBuilder

Arun Patidar

6 replies

arunpatidar
arunpatidarAccepted solution
New Participant
Aug 19, 2020 3:49 PM UTC

Did you use this context aware configuration in the content tree https://sling.apache.org/documentation/bundles/context-aware-configuration/context-aware-configuration.html#contexts-and-configuration-references

 

e.g. /content/yourproj/home

 

Resolved the error. It was dependency issue. I changed the dependency for javax.json.JsonObjectBuilder

Translate
Arun Patidar
minisanuAuthor
Level 3
Aug 21, 2020 11:16 AM UTC
Hi Arun,
Translate