We have an adaptive form that outputs a document of record. Currently the PDF that is produced by AEM is not tagged at all, i.e. heading, paragraph text etc. tags do not exist in the structure of the PDF. I found this documentation about how to enable tagging via a custom CXI file, but the ;Services -> Forms' option that is mentioned in this document doesn't exist in AEM 6.5. Am I just missing where this lives, or is the documentation incorrect?
Views
Replies
Total Likes
Please use following documentation to provide custom xci in AEM forms
Views
Replies
Total Likes
Thank you, but I'm not using AEM Cloud Service, this is an on-prem installation.
Views
Replies
Total Likes
Steps are same for both cloud service and on-prem. Also sharing docs for on-prem configuration
Views
Replies
Total Likes
Thank you. We tried this was well and got an error when AEM tries to generate the DOR.
We prepared a .xci file with the 'config/present/pdf/tagged' property set to '1', uploaded the .xci file to a location in /conf using crx, then updated the path of the .xci file in 'Adaptive Forms and Interactive Communication Web Channel'.
Here's what the .xci file looked like:
<?xml version="1.0" encoding="UTF-8"?>
<xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/">
<config xmlns="http://www.xfa.org/schema/xci/3.0/" xmlns:xfa="http://www.xfa.org/schema/xci/3.0/">
<present> <!-- [0..n] -->
<pdf> <!-- [0..n] -->
<tagged>1</tagged> <!-- 0|1 -->
</pdf>
</present>
</config>
</xdp:xdp>
And here's the start of the error we saw in the logs when attempting to generate the DOR:
08.05.2024 13:54:44.384 *ERROR* [[0:0:0:0:0:0:0:1] [1715201684381] POST /content/forms/af/formNanme/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] com.adobe.aemds.guide.addon.service.impl.GuidePDFSubmitHelperImpl Exception in getting Wrapped Parameter Map For Pdf Submit null
java.lang.NullPointerException: null
Views
Replies
Total Likes
Please attach full error stack trace. Also what path you're pasting for XCI file?
Views
Replies
Total Likes