Getting client ID error when trying to extend pdf viewer core component in AEM 6.4 | Community
Skip to main content
August 19, 2020
Solved

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

  • August 19, 2020
  • 1 reply
  • 2621 views

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.
Best answer by arunpatidar

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

1 reply

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
August 19, 2020

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
minisanuAuthor
August 21, 2020
Hi Arun,