Adding or removing PCXML templates

PCXML templates are XML-based templates that describe and define the charts and maps used by Corda. This topic describes how you can deploy the PCXML templates distributed with the Corda Server servlet.

Note: In the instructions below, the paths are relative to the location to which the WAR was extracted.

To deploy the PCXML templates, update the servlet with the new PCXML templates. The steps to update the servlet may differ, depending on the application server and configuration used when deploying the servlet. In all cases, this can be accomplished by updating corda.war with the required changes and repeating the steps in the topic "Deploying the corda.war file" to deploy the modified .war file.

The PCXML chart templates are located in the following location in corda.war: WEB-INF/classes/Corda60/chart_root/apfiles.

Note: Adding new PCXML chart templates requires updates to the Chart component to use the newly deployed PCXML files. For more information, see the topic "Configuring Chart to use PCXML templates."