コンテンツ・アイテムのチャネルへの追加
Content Toolkit control-content
コマンドを使用して、Oracle Content Managementサーバーのチャネルにコンテンツ・アイテムを追加できます。
control-content <action>
コマンドには、Oracle Content Managementチャネルにコンテンツ・アイテムを追加するためのアクションadd
があります:
cec control-content add -c Channel1 -r Repo1 -s UAT
このコマンドにより、リポジトリRepo1
内のすべてのアイテムが登録済サーバーUAT上のチャネルChannel1
に追加されます。
-s <server>
を使用してサーバーを指定するか、cec.properties
ファイルで指定されたサーバーを使用できます。
content-usage
コマンドに有効なアクションは、次のとおりです:
publish
unpublish
add
remove
content-usage
コマンドのオプションは次のとおりです:
--channel, -c Channel
[必須]--repository, -r Repository
[<action>
がadd
の場合は必須]--server, -s
登録済のOracle Content Managementサーバー--help, -h
ヘルプの表示[ブール]
次に、control-content
コマンドの例を示します:
cec control-content publish -c Channel1
Publish all items in channel Channel1 on the server specified in the cec.properties file
cec control-content publish -c Channel1 -s UAT
Publish all items in channel Channel1 on the registered server UAT
cec control-content unpublish -c Channel1 -s UAT
Unpublish all items in channel Channel1 on the registered server UAT
cec control-content add -c Channel1 -r Repo1 -s UAT
Add all items in repository Repo1 to channel Channel1 on the registered server UAT.
cec control-content remove -c Channel1 -s UAT
Remove all items in channel Channel1 on the registered server UAT