Puteţi utiliza comanda control-content
din OCE Toolkit pentru a adăuga elemente de conţinut la un canal într-un server Oracle Content Management.
Comanda control-content <action>
are o acţiune, add
, pentru adăugarea de elemente de conţinut la un canal Oracle Content Management:
cec control-content add -c Channel1 -r Repo1 -s UAT
Această comandă adaugă toate elementele din repository-ul Repo1
la canalul Channel1
de pe UAT-ul severului înregistrat.
Puteţi specifica serverul cu -s <server>
sau puteţi utiliza serverul specificat în fişierul cec.properties
.
Acestea sunt acţiunile valide pt. comanda content-usage
:
publish
unpublish
add
remove
Acestea sunt opţiunile pt. comanda content-usage
:
--channel, -c Channel
[obligatoriu]--repository, -r Repository
[obligatoriu atunci când <acţiunea>
este add
]--server, -s
Serverul Oracle Content Management înregistrat--help, -h
Afişare asistenţă [boolean]Iată câteva exemple pt. comanda 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