Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

Form to display repetative rows for a table

Avatar

Level 2

OutputImage.pngWe have a Table in which the rows should be populated from the xml data. I have made the connections to xml and it doesnt display any data. 

 

Each lender has multiple contracts, all the contracts to be listed is the output required. I have tried out lot of options but its not working. Kindly help

 

attaching xml and xdp

1 Accepted Solution

Avatar

Correct answer by
Employee

Capture.PNG

Hello mankuu33664440,

 

Along with your data bindings could you verify the repeat table options as mentioned above. 

 

I hope this will help to grow/display  data table.

 

Hope this will help.

 

Thanks,

View solution in original post

3 Replies

Avatar

Level 2

<response error_code="0" version="0325">
<report xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<report_options>
<report_option provided="1">Credit History</report_option>
</report_options>
<report_data>
<lenders>
<lender number="1">
<contracts>
<contract>
<details>
<name>ABC</name>
<fax>898989</fax>
</details>
</contract>
</contracts>
</lender>
<lender number="2">
<contracts>
<contract>
<details>
<name>ABC1</name>
<fax>67676</fax>
</details>
</contract>
<contract>
<details>
<name>ABC2</name>
<fax>12345</fax>
</details>
</contract>
</contracts>
</lender>
<lender number="3">
<contracts>
<contract>
<details>
<name>ABC3</name>
<fax>89989</fax>
</details>
</contract>
<contract>
<details>
<name>ABC4</name>
<fax>98989</fax>
</details>
</contract>
<contract>
<details>
<name>ABC5</name>
<fax>89898</fax>
</details>
</contract>
<contract>
<details>
<name>ABC6</name>
<fax>909090</fax>
</details>
</contract>
</contracts>
</lender>

</lenders>
</report_data>
</report>
</response>

Avatar

Employee

try this version from me:

https://documentcloud.adobe.com/link/review?uri=urn:aaid:scds:US:8f8e8af5-a082-4db7-b010-b52a895870b...

 

It produces

Kosta_Prokopiu1_0-1632217839980.png

The serialnumber should come from your data. I used the index of the encompassing lender.

Avatar

Correct answer by
Employee

Capture.PNG

Hello mankuu33664440,

 

Along with your data bindings could you verify the repeat table options as mentioned above. 

 

I hope this will help to grow/display  data table.

 

Hope this will help.

 

Thanks,