How can I view objects that have clones?

You can create an index to show a Yes or No value in a display column.

Description

I want to display a column in my Search Results view that will show Y or N for the Cloned value for objects.

Solution

In the TEXTML Administration perspective, perform the following:
  1. Edit the Index Definition file.
    CAUTION: Be careful when editing the Index Definition document. Changes can significantly affect the indexing process, and any errors in the document can lead to data corruption or other errors.
  2. Add the following index:
    <index NAME="clonedFromExist" CUSTOMPROPERTY="True" SYNC="True">
    	<stringindex KEEPEXTRACTEDVALUES="True">
    		<elements>
    			<element DEPTH="INFINITE" XPATH="if (count(//clonedFrom) gt 0) then 'Yes' else 'No'"/>
    		</elements>
    	</stringindex>
    </index>
    <index NAME="clonedToExist" CUSTOMPROPERTY="True" SYNC="True">
    	<stringindex KEEPEXTRACTEDVALUES="True">
    		<elements>
    			<element DEPTH="INFINITE" XPATH="if (count(//clonedTo) gt 0) then 'Yes' else 'No'"/>
    		</elements>
    	</stringindex>
    </index>
  3. In the Index Definition file, add the following two fields to the Summaries section:
    <field NAME="clonedFromExist" TYPE="Index" VALUE="All"/>
    <field NAME="clonedToExist" TYPE="Index" VALUE="All"/>
  4. To add the index to the display columns, edit the system/conf/display.xml file and add the following:
    <key halign="LEFT" label="Cloned To" name="clonedToExist" sortOrder="ASC" sortType="ALPHA" type="Index" visibility="255" width="30"/>
    <key halign="LEFT" label="Cloned From" name="clonedFromExist" sortOrder="ASC" sortType="ALPHA" type="Index" visibility="255" width="30"/>
  5. When the index has finished indexing, restart your IXIA CCMS Desktop and add the Cloned To and Cloned From columns to your Search Results view.