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

Calculate Rows Visible

Avatar

Avatar
Validate 1
Level 1
formerizer
Level 1

Likes

0 likes

Total Posts

6 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
formerizer
Level 1

Likes

0 likes

Total Posts

6 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
formerizer
Level 1

13-08-2017

I can't seem to get Livecycle to resolve the row nodes.

Error:

TypeError: taskResolved is null

Each Row is named as follows:

Row1

Row2

...

Row23

(They are not dynamically named, hence I can't use resolveNodes)

The path is correct since the following works and shows the presence detail:

textbox1.rawValue = form1.sfMGR.sfCheckList.sfMainItems.Table10.Row22.presence;

(NOTE: The code is shorted to isolate the problematic code, the ultimate goal of the complete code is to count how many rows in the table are set to presence = "visible")

What is wrong here?

Accepted Solutions (0)

Answers (1)

Answers (1)

Avatar

Avatar
Validate 1
Level 1
formerizer
Level 1

Likes

0 likes

Total Posts

6 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
formerizer
Level 1

Likes

0 likes

Total Posts

6 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
formerizer
Level 1

13-08-2017

It turns out, when tables are manually named, they have to be put in the following form:

for (var i = 1; i<24;i++)

{  

var tasks = "form1.sfMGR.sfCheckList.sfMainItems.Table10.Row";

var taskResolved =  xfa.resolveNode(tasks + i);

}