Documentation Center

Application Data Configuration Extension

You can create one or more XML configuration files containing configuration for your custom application data. You include this file in an Extension package and configure its location in the manifest file. The extension point for this is called CMApplicationDataConfiguration.

Each Application Data Configuration Extension has one custom property, configured in its properties section in the manifest file, manifest.json. The property is called xmlFileName and it is set to the path to, and name of, the XML file containing your custom configuration. This XML file must be included in the add-on package ZIP file in the configured location.

Here are the contents of an Application Data Configuration Extension as configured in the manifest file, handling a built-in item type:
{
  "name":"MyAppDataConfigurationExtension",
  "type": "CMApplicationDataConfiguration",
  "properties": {
    "xmlFileName": "CM\\MyCustomAppDataConfig.xml"
  }
}

This configuration tells the product to look for an application data configuration file by the name of MyCustomAppDataConfig.xml in the CM\ folder of the ZIP file.