In the good-ol' days of Adobe LiveCycle we often reused form fragments multiple times in a single form. To ensure data bindings worked correctly we would:
At runtime, the form would then assemble to XML binding by adding the subform binding and the field binding together.
I can't seem to get this capability working in AEM Adaptive forms. Not sure if I'm doing something wrong, but it seems that you have to add an absolute binding on the field.
Am I missing something?
Here's what I'm looking for in AEM Adaptive Forms:
Let's say I have the following XML
<MyForm>
<PostalAddress>
<Line1>PO Line1<Line1>
<Line2>PO Line1<Line2>
<Line3>PO Line1<Line3>
</PostalAddress>
<PhysicalAddress>
<Line1>Physical Line 1<Line1>
<Line2>Physical Line 1<Line2>
<Line3>Physical Line 1<Line3>
</PhysicalAddress>
</MyForm>
I want to create a Form Fragment for an Address. Inside the form fragment, I will have three fields, each with relative bindings, i.e. /Line1, /Line2 and /Line3
In my main Adaptive form I will then have two panels, both linked to the single Address Fragment, but they will have different bindings. One will be bound to /MyForm/PhysicalAddress and the other to /MyForm/PostalAddress.
But if I do this in AEM Adaptive forms (6.3), the data doesn't pull through when I do a preview with Data.
Hope my description makes sense
Thanks for the assistance
Greg
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Can you please share both the sample form with relative and absolute binding with test data XML. I will test on ES4 and AEM Designer to confirm the results. Upload the form in some drive and share the link.
Views
Replies
Total Likes
Can you please share both the sample form with relative and absolute binding with test data XML. I will test on ES4 and AEM Designer to confirm the results. Upload the form in some drive and share the link.
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Likes
Replies