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

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Non PDF source in DDX

Avatar

Level 2

Hi,

I"m trying to assemble a portfolio where the source files are not pdf.  Which ddx tag could I use to achieve this?

I found the following ddx script, not sure if it will or will not work, but I need to provide this script with the actual file (document variable) and not a path to the file path.

<File filename="saint_bernard.jpg" mimetype="image/jpeg"/>

Thanks,

Lien

1 Reply

Avatar

Level 8

I may be mistaken, but I believe that Assembler will attempt to call the appropriate conversion utility to turn your file into a PDF before it does the assembly (toImage2 in this case).

You can use the document variable type to hold a non-pdf file.  That document variable would be passed to invokePDF using the properties screen as you would a "normal" PDF.