AEM Forms - Using AssemblerService - how to configure insertionPoint in LiveCycle designer and use it via DDX | Community
Skip to main content
nitin_seth
Level 2
December 15, 2022
Solved

AEM Forms - Using AssemblerService - how to configure insertionPoint in LiveCycle designer and use it via DDX

  • December 15, 2022
  • 2 replies
  • 2842 views

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:

  • Does AssemblerService (as mentioned above in Env.) still supports insertionPoint or not?
  • Is there any alternate feature available or not OOTB in AEM Forms?

 

[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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by workflowuser

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

 

2 replies

Adobe Employee
December 15, 2022

It is supported in AEM forms 

 

Adobe Employee
December 15, 2022

Did you name the insertion point correctly in the xdp?

Level 2
December 16, 2022

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 :

  1. Do you have any working example of insertion point.
  2. Is there any reference/doc that we can refer. 
Adobe Employee
December 16, 2022