OCEツールキットによるページ索引のコンテンツ・アイテムの作成

OCEツールキットのコマンドを使用すると、ページ索引のコンテンツ・アイテムを作成できます。

前提条件:

  • OCEツールキットはインストール済で、ローカル・マシンで設定されています。

  • Oracle Content Managementのサイトは公開されています。

  • サイト・ページのコンテンツ・アイテムはサイト・チャネルに公開されています。

コマンドライン・インタフェースで、次のOCEツールキットのコマンドを入力します:

cec index-site site name -c content type name -p

コマンドで、site nameはサイトの名前で、content type nameはページ・テキストに作成したコンテンツ・アイテムです。オプション-pは作成後にページ索引のコンテンツ・アイテムを公開することを示します。

Usage: cec index-site <site>

Create content item for each page with all text on the page. If the page index content item already exists for a page, updated it with latest text on the page. Specify -c
<contenttype> to set the page index content type. Optionally specify -p to publish the page index items after creation or update.

Options:
  --contenttype, -c  <contenttype> page index content type
  --publish, -p      publish page index items
  --help, -h         Show help                                                                                                                                            [boolean]

Examples:
  cec index-site Site1 -c PageIndex
  cec index-site Site1 -c PageIndex -p

使用方法を確認するには、cec index-site -hと入力します