Hello everyone,
I am facing issue in merging two pdfs with assembler service using external data URLs in DDX, which is location of the PDF from my local file system.
I am following the below process:
Environment details - AEM 6.5 (On-Premise) Forms-add-on package (adobe-aemfd-win-pkg-6.0.640.zip), OSGI forms & output service.
The DDX being used:
<?xml version="1.0" encoding="UTF-8"?>
<DDX xmlns="http://ns.adobe.com/DDX/1.0/">
<PDF result="AnAssemblyAlso">
<PDF source="C:\\DDX_PDF\\GeneratedPDF_modify_LocAdd.pdf" >
<PDF source="C:\\DDX_PDF\\pdfB-MarketingContent.pdf">
</PDF>
</DDX>
Created a servlet to merge the pdfs using the assembler service.
While testing via postman, getting null pointer exception.
Snippet of the log:
Is this situation achievable? If yes, can anyone please suggest how to achieve the same?
Pls provide any resources or leads to understand if there is any limitations.
Thanks
Solved! Go to Solution.
Views
Replies
Total Likes
In this case, you need to map the drive to the server or I think files should be on the same server where your aem server is.
You need to retrieve the documents from the file system in variables and then pass them to ddx.
I am afraid the path like you mentioned will work.
Thanks for responding.
I was referring the following document from adobe in page 33.
Assembler Service and DDX Reference (adobe.com).
In this case, you need to map the drive to the server or I think files should be on the same server where your aem server is.
Views
Likes
Replies