Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.

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.