Calculate Rows Visible

formerizer 13-08-2017

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


TypeError: taskResolved is null

Each Row is named as follows:





(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?

Mark Solution

Are these answers useful?
Help other community members by marking useful answers as accepted.

Accepted Solutions (0)

Answers (1)

Answers (1)

formerizer 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);