Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.

Loaad XML direct from Web Service

Avatar

Former Community Member
I send a number eg 1401 and the web service returns

xml "
...
"



on a button click using

xfa.connectionSet.cnn.execute(0) ;



or the excute button built when the service was set up. The xml goes into a TextField



I then use a second button's click



// Loads and appends the XML string to the data DOM.

var Xml = xfa.form.form1.page1.getReportResult.rawValue ;

xfa.datasets.data.loadXML(Xml ,0,1) ;

this populates the form correctly.



Is theere a way to do it all on one click?
0 Replies