Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

PDF Viewer (v1) | AEM Community Blog Seeding

kautuk_sahni
Community Manager
Community Manager

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.

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

0 Replies