すべての画像フォーマットを表示する列を追加するにはどうすればよいですか?

異なる画像フォーマットを表示するインデックスを作成することができます。

説明

Search Results(検索結果)ビューに、Image TypeImage SourceImage HiresImage Lowresを表示する列を表示したいのですが。

解決法

TEXTML Administrationパースペクティブで、以下を実行してください:
  1. Index Definition(インデックス定義)ファイルを編集します。
    注意: インデックス定義文書を編集する際には注意が必要です。変更はインデックス作成プロセスに大きな影響を与え、文書に誤りがあれば、データの破損やその他のエラーにつながる可能性があります。確信が持てない場合は、変更する前にIXIA CCMS Customer Supportに相談してください。
  2. コンテンツストアに設定されているさまざまな画像フォーマットのインデックスを追加します。例えば、LowRes、HiRes、Sourceを追加するには、以下を追加します:
    <index NAME="lowres">
       <stringindex KEEPEXTRACTEDVALUES="True">
          <elements>
          <element XPATH="concat(//imageinfo[formatname='LowRes']/mime-type,' ',//imageinfo[formatname='LowRes']/width,'x',//imageinfo[formatname='LowRes']/height)" DEPTH="INFINITE"/>
          </elements>
       </stringindex>
    </index>
    		
    <index NAME="hires">
       <stringindex KEEPEXTRACTEDVALUES="True">
          <elements>
          <element XPATH="concat(//imageinfo[formatname='HiRes']/mime-type,' ',//imageinfo[formatname='HiRes']/width,'x',//imageinfo[formatname='HiRes']/height)" DEPTH="INFINITE"/>
          </elements>
       </stringindex>
    </index>
    		
    <index NAME="source">
       <stringindex KEEPEXTRACTEDVALUES="True">
          <elements>
          <element XPATH="concat(//imageinfo[formatname='Source']/mime-type,' ',//imageinfo[formatname='Source']/width,'x',//imageinfo[formatname='Source']/height)" DEPTH="INFINITE"/>
          </elements>
       </stringindex>
    </index>
    注:
    imagetypeインデックスはすでに存在するはずですが、存在しない場合は、以下を追加します:
    <index NAME="imagetype">
       <stringindex KEEPEXTRACTEDVALUES="True">
          <elements>
          <element DEPTH="INFINITE" XPATH="//imagetype"/>
          </elements>
       </stringindex>
    </index>
  3. 表示列にインデックスを追加するには、system/conf/display.xmlファイルを編集し、各画像フォーマットのエントリーを追加します。例えば、LowRes、HiRes、Sourceの列を追加するには、以下を追加します:
    <key halign="LEFT" label="Image Type" name="imagetype" sortOrder="ASC" sortType="ALPHA" type="Index" visibility="255" width="175"/>
    <key halign="LEFT" label="Image Source" name="source" sortOrder="ASC" sortType="ALPHA" type="Index" visibility="255" width="175"/>
    <key halign="LEFT" label="Image Hires" name="hires" sortOrder="ASC" sortType="ALPHA" type="Index" visibility="255" width="175"/>
    <key halign="LEFT" label="Image Lowres" name="lowres" sortOrder="ASC" sortType="ALPHA" type="Index" visibility="255" width="175"/>
  4. インデックスの作成が完了したら、IXIA CCMS Desktopを再起動します。
  5. 新しい列をSearch Results(検索結果)ビューに追加します。