Env. AEM Form 6.5 SP-12 On Prem, Document Manager version [1].
Question - Using AssemblerService - how to configure insertionPoint in LiveCycle designer and use it via DDX
Scenario - We are trying to configure insertionPoint (DDX [2]) as explained here -
https://help.adobe.com/en_US/livecycle/11.0/dynamic_assembly_guidelines.pdf but it does not work.
Question is:
[1]
<!-- For AEM-Forms Document Manager -->
<dependency>
<groupId>com.adobe.aemfd</groupId>
<artifactId>aemfd-client-sdk</artifactId>
<version>6.0.772</version>
</dependency>
[2] <?xml version="1.0" encoding="UTF-8"?>
<DDX xmlns="http://ns.adobe.com/DDX/1.0/">
<XDP result="wp_simple_result.xdp">
<XDP source="wp_simple_template_flowed.xdp">
<XDPContent insertionPoint="ddx_fragment" source="wp_simple_contact.xdp" fragment="subPatientContact"/>
<XDPContent insertionPoint="ddx_fragment" source="wp_simple_patient.xdp" fragment="subPatientPhysical"/>
<XDPContent insertionPoint="ddx_fragment" source="wp_simple_patient.xdp" fragment="subPatientHealth" />
</XDP>
</XDP>
</DDX>
[3] OperationException occurred: AEM-ASM-S00-002: Failed to execute the DDX - error messages provided
Solved! Go to Solution.
Views
Replies
Total Likes
https://acrobat.adobe.com/link/track?uri=urn:aaid:scds:US:ee24962e-caea-4e8b-863b-2534e7f35386
https://acrobat.adobe.com/link/track?uri=urn:aaid:scds:US:df70a402-0fbc-4be7-8586-db0bf3a8879a
add the following entry
/content/AemFormsSamples/assemblerservice
in using http://localhost:4502/system/console/configMgr
one of the links has the sample ddx and xdp. Please use those to test. The package has jsp code that you need to deploy using package manager
Then using postman make a POST request to the endpoint as shown in the screen shot using the sample xdp and ddx
It is supported in AEM forms
Did you name the insertion point correctly in the xdp?
I am following the steps to create insertion point from this Adobe doc : Guidelines for Dynamically Assembling Customized Forms and Documents (adobe.com)
i am attaching screen short for your reference.
Questions :
@workflowuser Thanks for your response.
I am not using workbench.
live cycle designer 11 to design XDP and AEM 6.5.
please suggest me to insert insertion point in Designer and use insertion Point through AEM 6.5 AssemblerService.
Thanks.
@workflowuser thanks for your response.
I am requesting can you please provide clear solution or any source Along with designer DDX intervention to work with Document Services of AEM 6.5.
So that I will understand the limitation and improvements for the solution which mentioned above.
Thanks.
Do you have any AEM Forms Designer solution here? Its on prem AEM Forms 6.5 setup. Details were given in the first post.
I will send a sample
Sure, thanks for taking this up.
However we followed this doc - https://help.adobe.com/en_US/livecycle/11.0/dynamic_assembly_guidelines.pdf and this is the exception we are getting on AssemblerService.
PDFAssemlerServlet_InsertionPoint InsertionPoint Catch block e= com.adobe.internal.pdfm.xfa.XFAServiceException: PDFM_S28003: XFA Assembly unable to assemble required XFA Fragment "subPatientContact" from document "tuc018_contact.xdp".
I have it working. will send you the sample code soon
https://acrobat.adobe.com/link/track?uri=urn:aaid:scds:US:ee24962e-caea-4e8b-863b-2534e7f35386
https://acrobat.adobe.com/link/track?uri=urn:aaid:scds:US:df70a402-0fbc-4be7-8586-db0bf3a8879a
add the following entry
/content/AemFormsSamples/assemblerservice
in using http://localhost:4502/system/console/configMgr
one of the links has the sample ddx and xdp. Please use those to test. The package has jsp code that you need to deploy using package manager
Then using postman make a POST request to the endpoint as shown in the screen shot using the sample xdp and ddx
Sure, highly appreciate you taking time to provide a sample. We will test and verify what is different, thanks.
When the Assembler service interprets the following DDX expression, it creates an XML form that contains
another XML form. The myFragment subform from the myFragmentSource document is inserted at the
myInsertionPoint in the myFormSource document.
Example: Dynamic assembly of form fragments
<DDX xmlns="http://ns.adobe.com/DDX/1.0/">
Adobe Experience Manager Forms Creating and Modifying Acrobat and XML (XFA) Forms
Assembler Service and DDX Reference Resolve references 41
<XDP result="myFormResult">
<XDP source="myFormSource">
<XDPContent fragment="myFragment"
insertionPoint="myInsertionPoint" source="myFragmentSource"/>
</XDP>
</XDP>
</DDX>