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.

resolveNode of a subform

Avatar

Level 4

hello, I have the problem of resolveNode of a subform to pass to a function

example


function test () {
     for (var i = 0; i <10; i + +) {
     var = oggettoSub xfa.resolveNode ("form1.body.subformA [" + i + "]");


     }
}

this works

now

how can I make become form1.body.subformA parametric?

I tried it with test.prova (form1.body.subformA.somexpression);

change function so

function test (objSubform) {
     for (var i = 0; i <MODULO.PAG.sub_serviziMilitari.sub_congedo.instanceManager.count; i + +) {
          var = oggettoSub xfa.resolveNode ("objSubform [" + i + "]");
     }
}

but does not work

0 Replies