Content reuse based on topic type
By changing the configuration of some indexes in the Index Definition file, you can allow users to reuse content from any topic in IXIA CCMS Web.
Each index identifies reusable components users can insert into content.
By default, each index only creates index content in referable-content topics. The index content is what users see as reusable content in the following dialogs:
- The Referable-Content view in IXIA CCMS Desktop
- The Reuse Content dialog in IXIA CCMS Web
You
can adjust each index to include other topic types that have a specific attribute, such
as <topic
otherprops="reusable">
.
Type |
Function |
---|---|
|
Index of all the descendant elements in
|
|
Index of all the names for all
|
|
Index of all text for all |
|
Index of all |
|
Index of all maps that are designated as referable component library maps Note: The identified maps have
<data
name="referable_component_library"> just after
the <title> element. There is a default
template for them. |
Default index configuration
Default index definitions are located in the Index Definition file. The only limitation for how you configure an index is what is possible using XPath.
<index NAME="reusable_element_id">
<stringindex KEEPEXTRACTEDVALUES="True">
<elements>
<element DEPTH="INFINITE" XPATH="//rcbody/*[@id]/@id"/>
</elements>
</stringindex>
</index>
<index NAME="reusable_element_name">
<stringindex KEEPEXTRACTEDVALUES="True">
<elements>
<element DEPTH="INFINITE" XPATH="for $e in (//rcbody/*[@id]) return local-name($e)"/>
</elements>
</stringindex>
</index>
<index NAME="reusable_fulltext">
<!-- System index required by the DITA CMS -->
<admindescription>Fulltext index on the documents</admindescription>
<wordindex>
<elements>
<element DEPTH="INFINITE" XPATH="//rcbody/*"/>
</elements>
</wordindex>
</index>
<unit NAME="reusable_units">
<unitelements>
<unitelement XPATH="//rcbody/*[@id]"/>
</unitelements>
</unit>