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
BedrockMission!

Learn More

View all

Sign in to view all badges

PDF Viewer (v1) | AEM Community Blog Seeding

Avatar

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,129 likes

Total Posts

6,140 posts

Correct Reply

1,144 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,129 likes

Total Posts

6,140 posts

Correct Reply

1,144 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile
kautuk_sahni
Community Manager

27-09-2020

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.

AEM AEMEBlogSeeding Experience Manager