PDF Viewer (v1) | AEM Community Blog Seeding | Community
Skip to main content
kautuk_sahni
Community Manager
Community Manager
September 28, 2020

PDF Viewer (v1) | AEM Community Blog Seeding

  • September 28, 2020
  • 0 replies
  • 958 views

BlogImage.jpg

PDF Viewer (v1) by Adobe Git

Abstract

PDF Viewer for Adobe Document Cloud component written in HTL.

Features
1. Allows embedding PDF files using the View SDK
2. Configurable features for controlling appearance and functionality.

Use Object
The PDF Viewer component uses the com.adobe.cq.wcm.core.components.models.PdfViewer Sling model as its Use-object.

Context Aware Config
The PDF Viewer component uses the context aware config com.adobe.cq.wcm.core.components.internal.services.pdfviewer.PdfViewerCaConfig with the following properties:
1. clientId - Required - the client key obtained by registering for the view sdk api - https://www.adobe.com/go/dcsdks_credentials
2. reportSuiteId - Adobe Analytics ID

Client Libraries
The component provides a core.wcm.components.pdfviewer.v1 client library category that contains base CSS styling and JavaScript component. It should be added to a relevant site client library using the embed property.

BEM Description
BLOCK cmp-pdfviewer
ELEMENT cmp-pdfviewer__content

Read Full Blog

PDF Viewer (v1)

Q&A

Please use this thread to ask the related questions.

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