Quantcast
Channel: Adobe Community : All Content - LiveCycle Designer
Viewing all articles
Browse latest Browse all 5571

Fragments and Data Binding

$
0
0

All

 

I have a use case where there needs to be a parent form that will contain a number of children sections.  Now I know I could just have one giant schema and have all of these child sections as subforms, etc.  However, I'm trying to make use of fragments as they seem like they might be a decent fit here.  However, I keep running into snags.  Here are the issues I'm seeing:

 

1) When I submit the form in Workspace, none of the data entered into either fragment is captured in the XML

 

2) When I attempt to drill down within formData (the process variable holding the form's data after submission) in Workbench's XPath Builder, it's not picking up any of the elements within any fragment.  I have these fragments each bound to a schema and I'm including these schemas in the parent form's schema as well.

 

Here are my questions:

 

1) I've read that fragments need to use relative binding to work properly with data capture but that's a bit ambiguous to me.  I understand what is meant by "relative" but could someone provide a specific example of what this looks like in Designer when binding a field?

 

2) How can I get the data elements backing a fragment to show up in the XPath Builder in Workbench?  It doesn't seem that Workbench is picking up the inclusion of another schema and allowing me to traverse that tree.  This may be due to a lack of understanding on my part about exactly what including another schema is doing.

 

3) Should I scrap the entire fragment approach here and just wrap these child forms in subform instead and simply have one, massive form with a single schema?

 

Thanks!


Viewing all articles
Browse latest Browse all 5571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>