Mit dem OCE Toolkit-Befehl control-content
können Sie Inhaltselemente zu einem Kanal in einem Oracle Content Management-Server hinzufügen.
Der Befehl control-content <action>
umfasst die Aktion add
, mit der Sie Inhaltselemente zu einem Oracle Content Management-Kanal hinzufügen können:
cec control-content add -c Channel1 -r Repo1 -s UAT
Dieser Befehl fügt alle Elemente im Repository Repo1
dem Kanal Channel1
auf dem registrierten Server "UAT" hinzu.
Sie können den Server mit -s <server>
angeben oder den in der Datei cec.properties
angegebenen Server verwenden.
Gültige Aktionen für den Befehl content-usage
:
publish
unpublish
add
remove
Optionen für den Befehl content-usage
:
--channel, -c Channel
[erforderlich]--repository, -r Repository
[erforderlich, wenn <action>
add
lautet]--server, -s
Der registrierte Oracle Content Management-Server--help, -h
Hilfe anzeigen [boolescher Wert]Beispiele für den Befehl 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