Highlighted

PDFs in AEM: Embed PDFs into your pages with PDF Viewer | AEM Community Blog Seeding

Avatar

Avatar

kautuk_sahni

Community Manager

Total Posts

5.6K

Likes

961

Correct Answer

1.1K

Avatar

kautuk_sahni

Community Manager

Total Posts

5.6K

Likes

961

Correct Answer

1.1K
kautuk_sahni
Community Manager

29-09-2020

BlogImage.jpg

PDFs in AEM: Embed PDFs into your pages with PDF Viewer by Adobe Tech Blog - Ben Vanderberg

Abstract

Content can come in a variety of formats in AEM. They could be images, videos, or even PDF documents. When it comes to PDFs, what is often the case is these PDFs are linked to and then rendered in the browser or downloaded to your computer, taking you away from the context and navigation of your own website. You also don’t get any insights into how they were interacting with PDFs other than downloading.
There are a lot of common scenarios where this is the case. For example, you might see white-papers, guides, contracts, documents. If you are using AEM to power a customer portal or an intranet, you could have documents specifically related to a certain person that you want to host online.

As part of AEM Core Components, there is now a new component called PDF Viewer, powered by Adobe PDF Embed API as part of Adobe Document Services. In a previous blog, I wrote in detail how you can take advantage of PDF Embed API. This makes it easy to incorporate it into your AEM pages.

PDF Viewer allows you to embed PDF views into a web page using simple drag and drop. The core component supports all of the embed modes supported as part of PDF Embed API including Full Window, Inline, and Sized Container for use with all sorts of PDF content. As a core component, this means that this can also be extended and customized by AEM developers to meet your specific needs.
In this article, let’s learn more about how we can use PDF Viewer to embed viewing experiences into our webpages.

Requirements
1. AEM 6.5
2. AEM Core Components 2.10+
3. PDF Embed API Client ID

For this article, we are going to assume you are running AEM on a local instance (hence using localhost) but this will work with any installed AEM instance.

Read Full Blog

PDFs in AEM: Embed PDFs into your pages with PDF Viewer

Q&A

Please use this thread to ask the related questions.

AEM AEMEBlogSeeding Experience Manager