Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.

Need script to navigate through list of list

Avatar

Level 2

In Invoice tag there is list of invc_term and each invc_term contains list of line_item.

Need script to navigate through all above list.

Below is the script to navigate through one list, now need to navigate list of list

var objR_INVC_TERM = xfa.data.resolveNode("Invoice.INVC_TERM.TYPE_INVC_TERM");

for(var i=0; i<objR_INVC_TERM.all.length; i++){

     var termTypCd = xfa.data.resolveNode("Invoice.INVC_TERM.TYPE_INVC_TERM[" +i +"].TERM_TYP_CD").value;

}

Please help for same.

1 Reply

Avatar

Level 10

Probably attaching the XML could help..

or you can send it to LiveCycle9@gmail.com so I can have a look at it..

Thanks

Srini