Unable to read XML value using javascript

Avatar

Avatar

rajeshs6770270

Avatar

rajeshs6770270

rajeshs6770270

20-02-2017

Hello All,

I am unable to read an xml node value using javascript in Adobe live cycle designer.

XML structure

============

Below is the xml structure. I would like to read the vale of description field as selected in below image.

1132827_pastedImage_1.png

Javascript code

=============

var x= xfa.record.sfcPrintingData.sfcBomPrintingData.componentPrintingDataList.description.value;

Could you please help me in this.

Accepted Solutions (0)

Answers (1)

Answers (1)

Avatar

Avatar

radzmar

MVP

Avatar

radzmar

MVP

radzmar
MVP

24-02-2017

Where in your form is this data stored? Do you import the xml under xfa.datasets or the defaiult data node xfa.datasets.data?