Acrescentar Itens de Conteúdo a um Canal

Pode utilizar o comando do OCE Toolkit control-content para acrescentar itens de conteúdo a um canal num servidor do Oracle Content Management.

O comando control-content <action> tem uma ação, add, para acrescentar itens de conteúdo num canal do Oracle Content Management:

cec control-content add -c Channel1 -r Repo1 -s UAT

Este comando acrescenta todos os itens no repositório Repo1 ao canal Channel1 no UAT do servidor registado.

Pode especificar o servidor com -s <server> ou utilizar o servidor especificado no ficheiro cec.properties.

Seguem-se as ações válidas para o comando content-usage:

  • publish
  • unpublish
  • add
  • remove

Seguem-se as opções para o comando content-usage:

  • --channel, -c Channel [obrigatório]
  • --repository, -r Repository [obrigatório quando <action> é add]
  • --server, -s O servidor registado do Oracle Content Management
  • --help, -h Mostrar auxílio [booleano]

Seguem-se os exemplos do 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