Button missing in PDF output in AEM Forms when using updated XCI file
In Adobe Experience Manager (AEM) Forms JEE, a button is missing from the PDF output when using a new XCI file for PDF/UA compliance. This occurs due to a mismatch between the global print settings in the XCI and the local print attributes in the XDP file. Updating the button’s print attribute resolves the issue.
Description description
Environment
- Product: Adobe Experience Manager (AEM) Forms JEE, v6.5.22
- Instance: PDF generation using FormsService via WebService in Java API
- OS: Windows Server 2022 Standard
- App Server: JBoss EAP 7.4.11
- Database: SQL Server 2019
- Java: Oracle JDK 11.0.19
Issue/Symptoms
- PDF output omits a button when using the updated
XCIconfiguration. - The new
XCIfile (pdfua-KO.xci) globally enables the print attribute for all relevant tags. - The
XDPfile sets the button’s print attribute to-print, which excludes it from rendering. - This mismatch causes the button to be omitted when generating PDFs using the updated
XCIconfiguration. - The issue is observed in AEM Forms JEE 6.5.x but doesn’t consistently occur in earlier versions like 6.4.2 under similar conditions.
Cause
The XDP file sets the button’s print attribute to -print, excluding it from rendering despite the global print settings in the XCI file.
Resolution resolution
To resolve the issue, follow the steps below:
- Open the affected
XDPfile. - Locate the button element where the print attribute is set to
-print. - Remove or modify the
-printattribute to align with the global print settings in thepdfua-KO.xcifile. - Save the updated
XDPfile and regenerate the PDF using your current setup.
For further assistance, contact Adobe Support.
Related reading
recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f