Passing Flat PDF Name to DDX invoke method
Hi folks
I have a ask to generate PDF file which has blank pdf assembled with main pdf.
I had generated main PDF from XDP using OutputService.generatePDFOutput() and received a aemfd document PDF.
Now i have DDX file which is like below and I am not what I should be putting in 1st child <PDF source="<Name or Path...." tag.
<DDX xmlns="http://ns.adobe.com/DDX/1.0/">
<PDF result="PDFWithblankPage">
<!--Add this page to ddx_pageList-->
<PDF source="<Name or Path for main PDF>"/>
<PDF source="<Network Drive>/blank.pdf"/>
</PDF>
</DDX>
I have checked the DDX file operation and it is working fine if I generate a static PDF, copy it at physical location with some name to PDF and provide the same Name to this DDX file. And it generates the desired PDF with blank page.
However I dont want intermediate PDF to be saved to a location and then pass to DDX as it will result in many temp PDFs getting created at that location and clean up will be an issue
Is there a way through which I can achieve the solution.
P.S. I am creating DDX file dynamically using java code everytime so that dynamic values can be filled.

