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.

Rows not repeating for data bind

Avatar

Former Community Member

I have a table setup, with a single row that has the databinding: !connectionData.DataConnection.Body.GETAPPLICATIONDATAReturn.STORAGELOCATIONS[*]

Each one of my columns for the row has a databinding: $.LEGALDESCRIPTION, etc, etc...

The row has the option "Repeat Row for Each Data Item" selected, and it is within a flowed subform.

If I check off Min Count, and specify a number of rows, it works perfectly. ie: I have two rows in the database, and I specify "Min Count: 2" it will show both of the rows exactly how they should. If I change Min count to 1, it only shows the first row. If I leave it unchecked, it shows nothing.

As far as I'm concerned everything is setup properly, so why is it not working??

1 Reply

Avatar

Former Community Member

This what my xml looks like, seems fine to me....

      <STORAGEINFOHOLDER>

        <STORAGELOCATIONS>

          <LEGALDESCRIPTION>NW010101 W</LEGALDESCRIPTION>

          <NUMBERBINS>001</NUMBERBINS>

          <TOTALCAPACITY>00000012</TOTALCAPACITY>

        </STORAGELOCATIONS>

        <STORAGELOCATIONS>

          <LEGALDESCRIPTION>NW020202 W</LEGALDESCRIPTION>

          <NUMBERBINS>050</NUMBERBINS>

          <TOTALCAPACITY>00000025</TOTALCAPACITY>

        </STORAGELOCATIONS>

      </STORAGEINFOHOLDER>