Re: building a hierarchy of xform instances
Posted by DL on
URL: https://discuss.orbeon.com/building-a-hierarchy-of-xform-instances-tp4565908p4567079.html
Erik
You've confirmed the conclusion I had come to after thinking it through overnight.
I need to create the hierarchy of XML documents (hundreds of nodes .. one xform instance per node) in the eXist database .. and not in the orbeon view (as in the bookcast example).
The orbeon view will be a flat dataset (as in the bookcast example) showing in browser one branch node (parent node) and child nodes for one level. i.e. viewing a fragment of the hierarchy at any time.
I'll need to create a CRUD API to eXist. I can see the eXist REST interface in bookcast example.
However I prefer to use an external eXist database (which I have running on tomcat7 as separate webapp) instead of the integrated eXist DB in orbeon.
And .. as you have suggested in another threads .. variables (such as nodeID) can be in hidden fields.