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
BedrockMission!

Learn More

View all

Sign in to view all badges

Unable to read the data

Avatar

11-07-2008

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.

Replies

Avatar

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

611 likes

Total Posts

7,689 posts

Correct Reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

611 likes

Total Posts

7,689 posts

Correct Reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile
pguerett
Level 10

14-07-2008

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.