내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

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

Avatar

Level 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

minisanu_0-1597824006734.png

 


 
Updating Media

 

 

 

 

주제

토픽은 커뮤니티 콘텐츠를 분류하여 관련성 있는 콘텐츠를 찾는 데 도움이 됩니다.

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Community Advisor

Did you use this context aware configuration in the content tree https://sling.apache.org/documentation/bundles/context-aware-configuration/context-aware-configurati...

 

e.g. /content/yourproj/home

 

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

Arun Patidar

AEM LinksLinkedIn

원본 게시물의 솔루션 보기

6 답변 개

Avatar

정확한 답변 작성자:
Community Advisor

Did you use this context aware configuration in the content tree https://sling.apache.org/documentation/bundles/context-aware-configuration/context-aware-configurati...

 

e.g. /content/yourproj/home

 

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

Arun Patidar

AEM LinksLinkedIn

Avatar

Level 4
Hi Arun,

Avatar

Level 4
Arun, Your comments resolved the clientid error. Thanks a lot for that. Even though the clientlibs are loading , i couldn't see the preview of pdf. I have embedded inside project clientlibs.Your answers will be helpful.

Avatar

Community Advisor
Did you see any error in the console? or check if the response is returned or not.
Arun Patidar

AEM LinksLinkedIn

Avatar

Level 4

Hi Arun,

Ya.I am getting an error in console.PFB the screenshot

minisanu_0-1598269100411.png

Could you please let me know if there s a fix for the above error?

Thanks 

 

Avatar

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