Puede utilizar el comando control-content
del toolkit de OCE para agregar elementos de contenido a un canal de un servidor de Oracle Content Management.
El comando control-content <action>
tiene una acción, add
, para agregar elementos de contenido a un canal de Oracle Content Management:
cec control-content add -c Channel1 -r Repo1 -s UAT
Este comando agrega todos los elementos del repositorio Repo1
al canal Channel1
en el servidor registrado de pruebas de aceptación del usuario.
Puede especificar el servidor con -s <server>
o utilizar el servidor especificado en el archivo cec.properties
.
A continuación, se muestran las acciones válidas para el comando content-usage
:
publish
unpublish
add
remove
A continuación, se muestran las opciones para el comando content-usage
:
--channel, -c Channel
[necesario]--repository, -r Repository
[necesario cuando <action>
es add
]--servidor, -es
El servidor registrado de Oracle Content Management--help, -h
Mostrar ayuda [booleano]A continuación, se muestran ejemplos del comando 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