Expand my Community achievements bar.

Unable to read XML value using javascript

Avatar

Former Community Member

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.

1 Reply

Avatar

Level 10

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