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

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Unable to read XML value using javascript

Avatar

Not applicable

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?