Configure the Document Types panel
You can configure the contents of the Document Types panel in the Search View.
Note: This can be applied within a Hosted environment, but only within a test server.
In the default configuration, the Document Types panel looks as follows (when the
Maps type is selected):The Document Types panel is configured in the equivalence.xml file. This file determines how DITA and custom objects
are handled by the CCMS interface. Objects that
are designated as equivalent to topics, for example, display the same right-click
menu options and are searched in a similar manner. The following code shows the default configuration in the equivalence.xml file for the Maps document
type:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE equivalences PUBLIC "-//ixiasoft.com//cms//config//equivalence" "equivalence.dtd">
<equivalences>
<equivalence type="map" standardSearch="true" groupName="Maps">
<object type="map"/>
<object type="bookmap" icon="/system/conf/icons/bookmap-icon.png"/>
<object type="subjectScheme"/>
</equivalence>
...
</equivalences>
The following table describes the elements and attributes used to configure the Document Type panel:
Element | Description | |
---|---|---|
<equivalence> |
Defines a top-level document type in the Document Type panel (for example, Maps, Topics, etc.) It has the following attributes: |
|
Attribute | Description | |
type |
Type of the object. This must be a valid type (for example, map , topic , resource ,
etc.). Mandatory. |
|
standardSearch |
Indicates if this type is displayed in the Document Type panel. Valid values are |
|
groupName |
Label displayed in the Document Type panel. This
attribute is optional; if not specified, it defaults to the
value of the type attribute.
All the <equivalence>
objects with the same group name will be organized in the same
drop-down list. For example, consider the following
configuration: Both
project and snapshot will
appear in the Others drop-down list. |
|
<object> |
Defines the items in the document type's
drop-down list. It has the following attributes: |
|
Attribute | Description | |
type |
Type of the object. This must be a valid type
(for example, map , topic , resource , etc.).Mandatory. |
|
icon |
Specifies a link to the icon that should be used for this object in the
view. The image must be stored in the Content Store. For
example:
|
To configure the Document Types panel: