Expand my Community achievements bar.

Unable to read XML value using javascript


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.


Javascript code


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

Could you please help me in this.

1 Reply


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?