Image Template XML (ITXML) controls all aspects of a Corda® image, including its Image Template and data. To apply ITXML data to a graph or map, save it to a file, and then load the file dynamically as needed. For more information, see ITXML.
Create ITXML files using one of the following methods:
Create a ITXML data file manually.
Build a batch process that creates a ITXML data file at regular intervals. This lets you update the ITXML as often as needed to keep the data current. The batch file should save the resulting ITXML file to Corda Server's <document_root>\image_templates, or store it on a Web server from which Corda Server™ can load it.
Build a separate Web application that queries a data source, retrieves the data, and formats it as ITXML. Corda Server then requests data directly from this Web application. The Web application can potentially generate the entire Image Template file.
Important: Corda Server must be given permission to read data from any path or domain other than <document_root>\image_templates. For more information, see Setting Path Permissions in the Corda 7 Install and Administration manual.
Specify the source of the ITXML data using one of the following methods.
This method specifies the source path to ITXML data, which can be a URL, a path relative to Corda Server's <document_root>\image_templates, or an absolute file path using the Universal Naming Convention (UNC).
For example:
myImage.loadITXML("data/votes.itxml");
myImage.loadITXML("http://database.mycompany.com/sales?Month=May");
myImage.loadITXML("examples/data/medals.itxml.xml");
The Medal Count graph, below, was loaded using the medals.itxml.xml load command:

This command loads ITXML data from a Web Application. (See @_LOADITXML for more information.)
For example:
@_LOADitxmlhttp://database.mycompany.com/sales?Month=May