コミュニティアチーブメントバーを展開する。

Submissions are now open for the 2026 Adobe Experience Maker Awards.
解決済み

PDF Generation dependency error

Avatar

Level 6
I'm using the below imports on AEM aa CS. So i have added the respective dependency as well. Core build works fine if i upload core jar to aem console getting the error in import packages (added a ss).
IMPORTS : 
import com.adobe.aemfd.docmanager.Document;
import com.adobe.fd.ccm.channels.print.api.service.PrintChannelService;
import com.adobe.fd.output.api.*;
Dependency : 
<dependency>
<groupId>com.adobe.aemfd</groupId>
<artifactId>aemfd-client-sdk</artifactId>
<version>6.0.1244</version>
<scope>provided</scope>
</dependency>
AEM console Error:
aravindS_0-1751437941245.png

Full Build Error :

aravindS_1-1751438162521.png

I tried to change the start level while uploading the jar, still fails. Any suggestions welcomes.

Thanks in advance.

1 受け入れられたソリューション

Avatar

正解者
Level 6

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.

aravindS_0-1752154995146.png

 

Thanks.

元の投稿で解決策を見る

4 返信

Avatar

Employee

Hi @aravindS , 

 

What you are using is the AEM Forms SDK version of 6.5 but compiling and using the code on AEM Forms Cloud Service instance. This is incorrect and will never work. Interactive Communications on 6.5 is not available in the same form in AEM Forms CS. We have just released in early access Interactive Communications on Forms CS. For getting access, please send a mail to 

aem-forms-ea@adobe.com with details of your IMS Organisation for Forms CS and license details. 

 

Regards, 

Sufyan

Avatar

Level 6

Hi @sharoon ,

Yes i know that using the 6.5 api, can you suggest any way to generate the pdf using the xdp and xml data. Thanks

Avatar

Level 6

HI @sharoon ,

Thanks for your reply.

I have tried with the latest cloud version of forms sdk as well, got error. I have figured out the other way to generate the pdf.

Avatar

正解者
Level 6

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.

aravindS_0-1752154995146.png

 

Thanks.