Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

PDF to Article

Avatar

Level 4

Is there a way to package a PDF directly to an *.article?

Thanks

Haeme

1 Accepted Solution

Avatar

Correct answer by
Employee

Hi Haeme,

There is no direct way to package up a PDF to a .article. However there are several InDesign scripts that allow you to take a PDF and place into an InDesign document, which could then in turn be exported as a .article file.

Example from old version here:

Rapidly create folios using a PDF-to-InDesign script | Adobe Developer Connection

View solution in original post

5 Replies

Avatar

Correct answer by
Employee

Hi Haeme,

There is no direct way to package up a PDF to a .article. However there are several InDesign scripts that allow you to take a PDF and place into an InDesign document, which could then in turn be exported as a .article file.

Example from old version here:

Rapidly create folios using a PDF-to-InDesign script | Adobe Developer Connection

Avatar

Level 5

Will there be a script that will take the inDesign files that are the result of the above script and export all of them to the new .article format (provided one has installed the latest plugin)?

Avatar

Employee

Hi, looking at InDesign CC 2015 Object Model this appears possible.

The method you are looking for is: exportDpsArticle. Details below.

Application.exportDpsArticle (destination: File , document: Document , dpsArticleParams:Array of varies):Array of string

Adobe InDesign CC 2015 (11.0) Object Model

Export the specified document to a DPS article. Note: This method behaves similarly to @method(exportMiniFolio), but differs in its parameters.

destination: Data Type: File

The location to write the file.

document: Data Type: Document

The source InDesign document.

dpsArticleParams: Data Type: Array of varies

Options for exporting a DPS article. Can accept: Ordered array containing dataField:String, dataValue:Any Type.

Avatar

Level 5

Sounds great!

Can Adobe provide such a script so that it can be a companion script to the one that generates all the INDD files from the PDF files? Or perhaps release a new version that does both steps to all the PDF files by running just one script?