Oracle Content Managementサーバー・コンテンツを含むサイトの実行
Oracle Content Managementサーバーのコンテンツ・タイプで作成されたサイトでは、Oracle Content Managementサーバーを使用してコンテンツを取得するようにサイトを設定する必要があります。 また、ローカル・コンテンツzipファイルから作成されるサイトも、Oracle Content Managementサーバーのコンテンツとともに同じように変更できます。
作成されたサイトごとに、サイト・ディレクトリに空の.cec_properties
ファイルが生成されます:
#
# To show the content on Oracle Content Management server, cec_url and cec_channel_token must
be set.
# If the channel is secure, cec_username
and cec_password
are also required.
# Only published items will be displayed.
# If the Oracle Content Management instance is a development env, set cec_env to dev_ec.
#
cec_url=
cec_username=
cec_password=
cec_env=pod_ec
cec_content=server
cec_channel_token=
ファイルを編集し、必要に応じてUrlとチャネルのトークンとユーザー名、パスワードを設定します。
Oracle Content Managementサーバーからチャネル・トークンを取得するか、CLIを使用できます:
cecss list-server-channels