<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: Adobe Forms - multiple item se in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/adobe-forms-multiple-item-se/qaa-p/12089517#M4516644</link>
    <description>&lt;P&gt;Hi Leo,&lt;BR /&gt;you are experiencing the exhausted databinding mechanism in adobe livecycle.&lt;BR /&gt;&lt;BR /&gt;The problem is, your data might look something like this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;list
  item    
    A    
    B  
  item    
    A    
    B
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;You might have defined two subforms / tables, that each bind to the data path: &lt;BR /&gt;"$.list.item[*]"&lt;BR /&gt;&lt;BR /&gt;In this case, the first table binds to the data and "exhausts" the data binding, therefore, the second subform / table is empty.&lt;BR /&gt;&lt;BR /&gt;As a workaround there are two options:&lt;BR /&gt;&lt;STRONG&gt;&lt;BR /&gt;1. Remodel your data service (recommended)&lt;/STRONG&gt;&lt;BR /&gt;If possible remodel your data service, so it looks like this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;list
  item    
    A    
  item    
    A    

list2
  item       
    B  
  item      
    B&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Now you can bind one subform / table to: $.list and the other to $.list2 and they should not collide with each other.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;2. Use Javascripting, to directly set the second table fields.&lt;/STRONG&gt;&lt;BR /&gt;You can use the following snippets and modify it to fit your data:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;// Insert Script in the table

var items = xfa.resolveNodes("xfa.datasets.data.list.item[*]") // get all item nodes

for (i = 0; i &amp;lt; items.length; i++) {
    // Get the current user from list
    var item = items.item(i);

    // Create a new table row
    this._row.addInstance(true); // I assume your subform that bind the items is called "row", otherwise you need to change this

    // Get the XFA-Object of newly created row via last_index
    var row = this.resolveNode("row[" + i+ "]"); //get latest row

    // Set the data of the Name field of the new row
    row.Name.rawValue = item.B.value; //set the data directly to the field
}&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 07 Jan 2020 07:13:00 GMT</pubDate>
    <dc:creator>PascalBremer</dc:creator>
    <dc:date>2020-01-07T07:13:00Z</dc:date>
    <item>
      <title>Adobe Forms - multiple item se</title>
      <link>https://community.sap.com/t5/technology-q-a/adobe-forms-multiple-item-se/qaq-p/12089516</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;
  &lt;P&gt;I got an Adobe form requirement where the item data part is split into two boxes/sections like shown below (I just simplified the boxes but each box has multiple fields):&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1758910-form-layout.png" /&gt;&lt;/P&gt;
  &lt;P&gt;For each item, there are two sections where I should display their data. Example, item1 will show details in boxes "Item 1-A" and "Item 1-B", item2 for "Item 2-A" and "Item 2-B" and so on. Currently, the boxes "Item 1-A", "Item 2-A" and "Item 3-A" are in one content area and there's no problem with it. The "B" boxes are the ones I can't properly display data in the form. I tried several scripts and layouts in the content area but I can't still make it.&lt;/P&gt;
  &lt;P&gt;May I ask for your inputs how to do this? I can provide more details if needed. Thank you!&lt;/P&gt;
  &lt;P&gt;Regards,&lt;/P&gt;
  &lt;P&gt;Leo&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2020 08:13:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/adobe-forms-multiple-item-se/qaq-p/12089516</guid>
      <dc:creator>former_member726158</dc:creator>
      <dc:date>2020-01-06T08:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: Adobe Forms - multiple item se</title>
      <link>https://community.sap.com/t5/technology-q-a/adobe-forms-multiple-item-se/qaa-p/12089517#M4516644</link>
      <description>&lt;P&gt;Hi Leo,&lt;BR /&gt;you are experiencing the exhausted databinding mechanism in adobe livecycle.&lt;BR /&gt;&lt;BR /&gt;The problem is, your data might look something like this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;list
  item    
    A    
    B  
  item    
    A    
    B
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;You might have defined two subforms / tables, that each bind to the data path: &lt;BR /&gt;"$.list.item[*]"&lt;BR /&gt;&lt;BR /&gt;In this case, the first table binds to the data and "exhausts" the data binding, therefore, the second subform / table is empty.&lt;BR /&gt;&lt;BR /&gt;As a workaround there are two options:&lt;BR /&gt;&lt;STRONG&gt;&lt;BR /&gt;1. Remodel your data service (recommended)&lt;/STRONG&gt;&lt;BR /&gt;If possible remodel your data service, so it looks like this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;list
  item    
    A    
  item    
    A    

list2
  item       
    B  
  item      
    B&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Now you can bind one subform / table to: $.list and the other to $.list2 and they should not collide with each other.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;2. Use Javascripting, to directly set the second table fields.&lt;/STRONG&gt;&lt;BR /&gt;You can use the following snippets and modify it to fit your data:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;// Insert Script in the table

var items = xfa.resolveNodes("xfa.datasets.data.list.item[*]") // get all item nodes

for (i = 0; i &amp;lt; items.length; i++) {
    // Get the current user from list
    var item = items.item(i);

    // Create a new table row
    this._row.addInstance(true); // I assume your subform that bind the items is called "row", otherwise you need to change this

    // Get the XFA-Object of newly created row via last_index
    var row = this.resolveNode("row[" + i+ "]"); //get latest row

    // Set the data of the Name field of the new row
    row.Name.rawValue = item.B.value; //set the data directly to the field
}&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 07 Jan 2020 07:13:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/adobe-forms-multiple-item-se/qaa-p/12089517#M4516644</guid>
      <dc:creator>PascalBremer</dc:creator>
      <dc:date>2020-01-07T07:13:00Z</dc:date>
    </item>
  </channel>
</rss>

