How can I display fullpath in my Search Results view?

You can use an existing index to display the fullpath by editing your display.xml configuration file.

Description

I want to display a column in my Search Results view that will show the fullpath value that is displayed in the Properties view. For example, /content/authoring/xix1548690779558.xml. This information is recorded in an object's .properties file, so it is automatically indexed, you just need to enable the column.

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. In the summaries section, add the following to the <fieldlist>:
    <field NAME="Collection" TYPE="Property" VALUE="All"/>
  3. Edit the system/conf/display.xml file and add the following:
    <key halign="LEFT" label="Filepath" name="Collection" sortOrder="ASC" sortType="ALPHA" type="Property" visibility="255" width="110"/>
  4. Restart your IXIASOFT CCMS Desktop.
  5. Add the new column to your Search Results view.