Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.

Binding of multiple subform

Avatar

Level 4

hello everyone, I have this problem: 
I have three subform (sub1, sub2, sub3), each subform contains 2 items (textfield and date) 
each subform must have the same binding to xml node 

This is because I need output in a xml file with this structure

<AAA> 
   <BBB> 
   <INPUT> DdEEEEEEddddddddddddd </ INPUT> 
   <DATE> 2009-07-04 </ DATE> 
   </ BBB> 

   <BBB> 
   <INPUT> DddddEEEEddddd </ INPUT> 
   <DATE> 2009-07-04 </ DATE> 
   </ BBB> 

   <BBB> 
   <INPUT> Ddddddddddddddddddddd </ INPUT> 
   <DATE> 2009-07-04 </ DATE> 
   </ BBB>

</ AAA> 

HOW CAN I DO?

2 Replies

Avatar

Level 3

oh there is some dust on this post ; )

Anyway I have a similar problem.

I have an table which should fill fields in multiple subforms. Table-index helps me to get the needed record.

Version 1:

This way everything works fine.

Hierarchy:

Page1

- subForm1               

    - field_record1       (Binding: §MYTABLE.DATA[0].MYRECORD  )

Page2

- subForm2             

    - field_record2        (Binding:  §MYTABLE.DATA[1].MYRECORD  )

Page3

- subForm3             

    - field_record3         (Binding:  §MYTABLE.DATA[2].MYRECORD  )

Version 2:

This way it does not work on the subForm2 and  subForm3. = It works only one time in the document.
Hierarchy:

Page1

- subForm1               (Binding: §MYTABLE.  )

    - field_record1       (Binding: DATA[0].MYRECORD )

Page2

- subForm2               (Binding: §MYTABLE.  )

    - field_record2       (Binding: DATA[1].MYRECORD  )

Page3

- subForm3               (Binding: §MYTABLE.  )

    - field_record3       (Binding: DATA[2].MYRECORD  )

is there any way to fix version 2 somehow? I would like / need to split the binding like it done there badly ; )

sorry, I move my answer to the correct forum