Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session

Unable to read the data

Avatar

Former Community Member
I am unable to read the data from dataconnection (from schema).

Here Equipment aggregate is repeated mulitple times. Under the Equipment there is another element Status for which I need to read the value.



I am doing like this.

xfa.data.PurchaseOrderForm.POData.Equipment[i].Status.value;



But it is always blank or null.



Please help where I am doing wrong.



Thanks for your help.
1 Reply

Avatar

Former Community Member
The issue is the i. You will need to use the command like this that will pass a string to represent the object.



xfa.resolveNode("xfa.data.PurchaseOrderForm.POData.Equipment[" + i + "].Status").value



Now the string will reolve out the value of i then the object will be resolved.