I'm using AEM aa CS, I need to generate a PDF using xdp template and xml data. So i used Output service api as per the below link.
Generate PDF documents using output service | Adobe Experience Manager
I'm getting the import error while uploading the bundle in my local AEM aa CS.
I added the following dependency.
Solved! Go to Solution.
Views
Replies
Total Likes
Thanks everyone for your reply.
I have used this api to generate pdf successfully using xdp template and xml data.
POST call
https://YOUR_UNIQUE_SERVER.adobeaemcloud.com/adobe/forms/doc/v1/generatePDFOutput
req. parameters - in body add required files as a input with the name of template and data. Use Basic auth / Bearer it works fine on both authentication.
Thanks.
Views
Replies
Total Likes
Hello @aravindS
OutputService and FormsService Java APIs (such as com.adobe.fd.output.api.OutputService) are for on-premise/AEM 6.5 environments.
In AEMaaCS, these APIs are not considered public.
Therefore, the aemfd-client-sdk dependency is not supported for custom code on AEMaaCS, which is likely why your bundle is failing to resolve imports.
In Cloud Service, document generation (PDF with XDP + XML) should be performed via the Communications HTTP APIs [0]
This is a REST API for PDF generation.
This approach will work both for local SDK and deployed Cloud Service environments, and avoids Java API wiring entirely.
Thanks,
Rahul Pandey
Views
Replies
Total Likes
Hi @rahulpandey27 ,
Thanks for your reply, can you please check this
https://experienceleague.adobe.com/en/docs/experience-manager-learn/cloud-service/forms/forms-cs-out...
we can use this api in AEM aa CS as well.
If you have any sample code or link for this using Communications HTTP APIs [0] please share that would be helpful.
Views
Replies
Total Likes
You can use these APIs in cloud service as well. The SDK you are using currently is for 6.5 and hence, the issue. Please use the SDK at https://mvnrepository.com/artifact/com.adobe.aem/aem-forms-sdk-api. Use the correct version aligned with the version of Forms present on your cloud instance. This is the latest SDK version https://mvnrepository.com/artifact/com.adobe.aem/aem-forms-sdk-api/2025.06.11.02-250500. You can find the Forms version by clicking 'i' icon in forms manager console.
Regards,
Sufyan
Views
Replies
Total Likes
Hi @sharoon ,
I have used the latest SDK and forms add on as well, got the same issue.
Views
Replies
Total Likes
Thanks everyone for your reply.
I have used this api to generate pdf successfully using xdp template and xml data.
POST call
https://YOUR_UNIQUE_SERVER.adobeaemcloud.com/adobe/forms/doc/v1/generatePDFOutput
req. parameters - in body add required files as a input with the name of template and data. Use Basic auth / Bearer it works fine on both authentication.
Thanks.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies