open pdf files

Avatar

Avatar

douglasf1216991

Avatar

douglasf1216991

douglasf1216991

31-03-2016

How Can I open a PDF file from a card in AEM? PDF has to be embed not hosting on server. So, if you are offline you can still open the PDF.

Thanks!

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Bob_Bringhurst_

Employee

Avatar

Bob_Bringhurst_

Employee

Bob_Bringhurst_
Employee

24-06-2016

You can now upload PDF files instead of .article files. For details, see Experience Manager Mobile Help | Create articles from PDF files

Answers (1)

Answers (1)

Avatar

Avatar

Mitch_Green

Employee

Avatar

Mitch_Green

Employee

Mitch_Green
Employee

31-03-2016

There are two possible answers to your question.

First, you can download and use the new Acrobat DC plugin (AEM Mobile PDF Export for Acrobat) to export the PDF document from Acrobat into AEM Mobile (as a .article file). Then just configure an image card in the layout with a navto:// link to point to the new converted PDF article. You can learn more about the Acrobat plugin here, Adobe Prerelease.

The second method is more involved and requires programming, but it gives you more flexibility in how you do things. When a content view (an .article document) loads, you can include Javascript in that view that fetches a PDF document from an external service and stores it in the local filesystem (using the new Cordova File System and File Transfer APIs). Once stored, another link on that page could fetch the PDF document from local storage and open it in the default handler for PDF content on the device. You could also create a first-launch content view that fetches multiple PDF documents and saves them so they're available for offline use in the future.