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

Read table from data connection


Level 1


I am designing a PDF form which has a data connection with SAP which is loading correctly on the mapped fields when the document is generated.

Apart from those fields I have a requirement to hide tables rows in this form after reading data from the data connection. The table looks like the highlighted one below - ET_COND_TEXT1:


I have to read the data in the field CCONDTYPE and CCONDGRP. I've tried logic as below but it doesn't seem to be working:

var lt_cond = xfa.datasets.dataDescription.Z_FM_PNC_CORRResponse.resolveNode("ET_COND_TEXT1");

var rowCount = lt_cond.nodes.length;

for( var i = 0; i<rowCount; i++){

thisValue = lt_cond.nodes.item(i).COND_DET.CCONDTYPE;

if(thisValue != "BC0269" ) this.presence = "hidden";


Please help on this.



0 Replies