Structure of the default.xml File

Inventory and versions statuses are defined in the default.xml file. You can modify the supplied values for both types as well as add your own values. If you modify the file, restart the server in order to see your changes.

Here an example of default.xml:


<?xml version="1.0"?>
<status-scheme name="Default">
<inventory-statuses>
<status name="Active" color="#8DD889" unique="true" />
<status name="Staged" color="#80D8FF" />
</inventory-statuses>
<version-statuses>
<status name="Latest" color="#F6F4D8" unique="true" />
<status name="Passed Tests" componentRoleName="StatusAdder" color="#FFDDAA" />
<status name="Archived" color="#AAAAAA" />
</version-statuses>
</status-scheme>

Each <status/> element has a required name attribute and several optional ones, defined in the following table:

<status> Attributes table

Attribute Description
name

Identifies the status; appears in user-interface. Used to create gates, and available in process steps.

color

Hexadecimal color definition; determines the color displayed in the user interface.

unique Boolean value (true|false). Only one component version with this status/attribute will be deployed to the environment.
componentRoleName Security role required by user to add this status to the component version.

All attributes must be enclosed in double-quotes.

NOTE

While you can add as many values as you like, you cannot create new status types (only inventory- and version-statuses are supported). Additionally, all values must be defined in default.xml.