I tried to use the PrintChannelService to generate pdf, getting the below error.
I'm using AEM 6.5.22 and tried with the following dependency (both).
Solved! Go to Solution.
Views
Replies
Total Likes
Please use following dependency for SDK. You are using aemfd client sdk dependencies from both 6.5 and 6.5 LTS branches which is not correct. If you are on 6.5 SP23, you should use the corresponding SDK.
<dependency>
<groupId>com.adobe.aemfd</groupId>
<artifactId>aemfd-client-sdk</artifactId>
<version>6.0.1394</version>
</dependency>
Also, please clarify whether you are working Interactive Communications on 6.5 SP23? Or older versions of IC i.e. Correspondence Management which requires Compat package to be installed? This will help in providing in the right solution to your problem.
I would also advise you to raise support ticket with complete information for quicker resolution.
Regards,
Sufyan
Hi @aravindS ,
I am afraid the package used for importing the PrintChannelService is invalid. PFB[1] the javadoc for the actual package name. Also, if possible can you please share the documentation reference that helped in developing this.
Hi @usr_ard ,
Thanks for your reply, I have tried to generate pdf using the filled letter (this needs to be happened while clicking the submit button. - refer this ticket i have raised for enable the post process - https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager-forms/maven-dependency-err...
Can you please let me know any possible / sample code that would be helpful. Thanks.
Views
Replies
Total Likes
Please use following dependency for SDK. You are using aemfd client sdk dependencies from both 6.5 and 6.5 LTS branches which is not correct. If you are on 6.5 SP23, you should use the corresponding SDK.
<dependency>
<groupId>com.adobe.aemfd</groupId>
<artifactId>aemfd-client-sdk</artifactId>
<version>6.0.1394</version>
</dependency>
Also, please clarify whether you are working Interactive Communications on 6.5 SP23? Or older versions of IC i.e. Correspondence Management which requires Compat package to be installed? This will help in providing in the right solution to your problem.
I would also advise you to raise support ticket with complete information for quicker resolution.
Regards,
Sufyan
@aravindS Just checking in — were you able to resolve your issue?
We’d love to hear how things worked out. If the suggestions above helped, marking a response as correct can guide others with similar questions. And if you found another solution, feel free to share it — your insights could really benefit the community. Thanks again for being part of the conversation!
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies