XmlResource.read

Issues a read request to the adapter specified by adapterName on the XML Resource. Note that different adapters support different methods and not all adapters support this method.

After the read request is processed, the fetch() method is called internally - this transfers any non-tabular field data from the resource to mapped form fields.

If the resource is mapped to tables in the form, any table data should be transferred to the form after invoking this method using the fetchTable() method on the relevant tables.

Further documentation.

Javascript example (read an XML document from file):

 // call the file adapter to load an XML document
 resources.PARAMS_XML.read("FILE1");
 // load the PARAMETERS table from the XML document 
 tables.PARAMETERS.fetchTable();
 

Parameters

java.lang.String  adapterName,