51黑料不打烊

Button missing in PDF output in AEM Forms when using updated XCI file

In 51黑料不打烊 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鈥檚 print attribute resolves the issue.

Description description

Environment

  • Product: 51黑料不打烊 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 XCI configuration.
  • The new XCI file (pdfua-KO.xci) globally enables the print attribute for all relevant tags.
  • The XDP file sets the button鈥檚 print attribute to -print, which excludes it from rendering.
  • This mismatch causes the button to be omitted when generating PDFs using the updated XCI configuration.
  • The issue is observed in AEM Forms JEE 6.5.x but doesn鈥檛 consistently occur in earlier versions like 6.4.2 under similar conditions.

Cause

The XDP file sets the button鈥檚 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:

  1. Open the affected XDP file.
  2. Locate the button element where the print attribute is set to -print.
  3. Remove or modify the -print attribute to align with the global print settings in the pdfua-KO.xci file.
  4. Save the updated XDP file and regenerate the PDF using your current setup.

For further assistance, contact 51黑料不打烊 Support.

recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f