AEM Adaptive form repeatable section inside repeatable section by using schema not working properly

Avatar

Avatar

Yugandhararao_T

Avatar

Yugandhararao_T

Yugandhararao_T

16-12-2019

Hi Everyone,

I have created XDP contains a repeatable section inside the repeatable section. It works well in the LiveCycle Designer.

I have created an adaptive form by using XDP and XSD schema. when submitting the form all inner repeatable section shown in the first repeatable section.

Example:

I need a pdf file like below:

Parent 1

  Child 1

  Child 2

Parent 2

  Child 3

  Child 4

but when submitting it shown like

Parent 1

  Child 1

  Child 2

  Child 3

  Child 4

Parent 2

xsd schema:

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="Repeatable-Schema">
<xs:complexType>
<xs:sequence>
<xs:element name="Repeatable">
<xs:complexType>
<xs:sequence>
<xs:element name="Repeatable-page1">
<xs:complexType>
<xs:sequence>
<xs:element name="parent" type="parent" minOccurs="1" maxOccurs="100">
<xs:complexType>
<xs:sequence>
<xs:element name="ob-p5-tb1" type="xs:string"></xs:element>
<xs:element name="child" type="child" minOccurs="1" maxOccurs="100">
<xs:complexType>
<xs:sequence>
<xs:element name="ob-p5-tb2" type="xs:string"></xs:element>
<xs:element name="ob-p5-tb3" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>

</xs:sequence>
</xs:complexType>
</xs:element>

</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>

</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

 

Please share if anyone has solution ASAP. 

Many Thanks!

Yugandhar

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Yugandhararao_T

Avatar

Yugandhararao_T

Yugandhararao_T

16-12-2019

Hi All,

I found a solution. We need to add relative data binding for the repeatable section.

Thanks

Answers (0)