Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Unable to read the data

Not applicable
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
pguerett
Level 10
Level 10
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.