PDF Viewer component not visible on the page | Community
Skip to main content
Level 3
March 10, 2023

PDF Viewer component not visible on the page

  • March 10, 2023
  • 1 reply
  • 671 views

Hi All -I have extended the PDF viewer core component into our app : /apps/app-name/ and also created the "Content Aware configuration" under /conf/app-name/ and added the property "sling:configRef" that points to Context Aware Config path under /content/site/ but the pdf viewer component is still not visible. I have followed the exact steps provided by @asutosh_jena_ in the post https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/pdf-viewer-core-component-won-t-display-on-page/m-p/406069#M5381 but it's still not working. I verified and client id is correct and domain is also set as localhost as I am trying to configure on my local. The component div is getting created but it's empty.

 

Please advise

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

1 reply

somen-sarkar
Community Advisor
Community Advisor
March 10, 2023

Hi,

Pls check if the "core.wcm.components.pdfviewer.v1" clientlibs are being loaded while rendering the page. PDFs will not render in case javascript is not present. Try to add clientlib using dependencies or embed property. 

Thanks,

Somen